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