Files
zoom/third-party/glad/test/rust/compile/gl/default/001/test.rs

17 lines
319 B
Rust

#![deny(warnings)]
/**
* Full core GL, should compile
*
* 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::Clear;
gl::MultiDrawElementsEXT;
}