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