Initial commit - some engine bugs stopping compiling
This commit is contained in:
10
third-party/glad/test/rust/compile/glx/default/001/Cargo.toml
vendored
Normal file
10
third-party/glad/test/rust/compile/glx/default/001/Cargo.toml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
[package]
|
||||
name = "compile-glx-default-001"
|
||||
version = "0.1.0"
|
||||
|
||||
[[bin]]
|
||||
path = "test.rs"
|
||||
name = "test"
|
||||
|
||||
[dependencies]
|
||||
glad-glx = { path = "./glad-glx/" }
|
||||
16
third-party/glad/test/rust/compile/glx/default/001/test.rs
vendored
Normal file
16
third-party/glad/test/rust/compile/glx/default/001/test.rs
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#![deny(warnings)]
|
||||
/**
|
||||
* Full GLX, should compile
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="glx=" rust
|
||||
* COMPILE: cp -r $test_dir/. $tmp && cd $tmp && cargo build
|
||||
* RUN: cargo run
|
||||
*/
|
||||
extern crate glad_glx;
|
||||
use glad_glx::glx;
|
||||
|
||||
#[allow(path_statements)]
|
||||
fn main() {
|
||||
glx::GetProcAddress;
|
||||
glx::FreeContextEXT;
|
||||
}
|
||||
Reference in New Issue
Block a user