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 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Use c_uchar for gl2::TRUE and gl2::FALSE

  • Loading branch information
chinmaygarde committed May 16, 2013
commit c38a785c55f63ad877f1c2b0c005eb37dcfecf1f
4 gl2.rs
@@ -60,8 +60,8 @@ 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_int = 1 as c_int;
pub static FALSE: c_int = 0 as c_int;
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;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.