Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GL_TRUE and GL_FALSE #21

Merged
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

4 gl2.rs
@@ -59,6 +59,10 @@ pub static DST_COLOR: c_uint = 0x0306 as c_uint;
pub static ONE_MINUS_DST_COLOR: c_uint = 0x0307 as c_uint;
pub static SRC_ALPHA_SATURATE: c_uint = 0x0308 as c_uint;

/* Boolean */
pub static TRUE: c_uchar = 1 as c_uchar;
pub static FALSE: c_uchar = 0 as c_uchar;

/* BlendEquationSeparate */
pub static FUNC_ADD: c_uint = 0x8006 as c_uint;
pub static BLEND_EQUATION: c_uint = 0x8009 as c_uint;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.