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

Added various missing functions/constants #4

Merged
merged 5 commits into from Mar 19, 2013
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

Added EnableCap consts

  • Loading branch information
sp0 committed Mar 19, 2013
commit 06f05e5a216c50f97eb5a24cbf0a42c12b8dcabd
11 gl2.rs
@@ -56,7 +56,16 @@ pub const FLOAT: c_uint = 0x1406 as c_uint;
pub const FIXED: c_uint = 0x140C as c_uint;

/* EnableCap */
pub const TEXTURE_2D: c_uint = 0x0DE1 as c_uint;
pub const TEXTURE_2D: c_uint = 0x0DE1 as c_uint;
pub const CULL_FACE: c_uint = 0x0B44 as c_uint;
pub const BLEND: c_uint = 0x0BE2 as c_uint;
pub const DITHER: c_uint = 0x0BD0 as c_uint;
pub const STENCIL_TEST: c_uint = 0x0B90 as c_uint;
pub const DEPTH_TEST: c_uint = 0x0B71 as c_uint;
pub const SCISSOR_TEST: c_uint = 0x0C11 as c_uint;
pub const POLYGON_OFFSET_FILL: c_uint = 0x8037 as c_uint;
pub const SAMPLE_ALPHA_TO_COVERAGE: c_uint = 0x809E as c_uint;
pub const SAMPLE_COVERAGE: c_uint = 0x80A0 as c_uint;

/* FrontFaceDirection */
pub const CW: c_uint = 0x0900 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.