Initial commit - some engine bugs stopping compiling

This commit is contained in:
Will
2026-03-29 15:52:42 +01:00
commit 3d573a200e
361 changed files with 332759 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
[package]
name = "compile-gl-default-001"
version = "0.1.0"
[[bin]]
path = "test.rs"
name = "test"
[dependencies]
glad-gl = { path = "./glad-gl/" }

View File

@@ -0,0 +1,16 @@
#![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;
}