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

Enable gl::XXX_BITS constants in WebGL getParameter command. #1255

Merged
merged 1 commit into from May 16, 2017
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Enable gl::XXX_BITS constants in WebGL getParameter command.

  • Loading branch information
MortimerGoro committed May 15, 2017
commit 2b75aaaad79565a31eefa67701f89a233517da70
@@ -688,20 +688,20 @@ impl WebGLCommand {
chan: MsgSender<WebGLResult<WebGLParameter>>) {
let result = match param_id {
gl::ACTIVE_TEXTURE |
//gl::ALPHA_BITS |
gl::ALPHA_BITS |
gl::BLEND_DST_ALPHA |
gl::BLEND_DST_RGB |
gl::BLEND_EQUATION_ALPHA |
gl::BLEND_EQUATION_RGB |
gl::BLEND_SRC_ALPHA |
gl::BLEND_SRC_RGB |
//gl::BLUE_BITS |
gl::BLUE_BITS |
gl::CULL_FACE_MODE |
//gl::DEPTH_BITS |
gl::DEPTH_BITS |
gl::DEPTH_FUNC |
gl::FRONT_FACE |
//gl::GENERATE_MIPMAP_HINT |
//gl::GREEN_BITS |
gl::GREEN_BITS |
//gl::IMPLEMENTATION_COLOR_READ_FORMAT |
//gl::IMPLEMENTATION_COLOR_READ_TYPE |
gl::MAX_COMBINED_TEXTURE_IMAGE_UNITS |
@@ -715,7 +715,7 @@ impl WebGLCommand {
gl::MAX_VERTEX_TEXTURE_IMAGE_UNITS |
//gl::MAX_VERTEX_UNIFORM_VECTORS |
gl::PACK_ALIGNMENT |
//gl::RED_BITS |
gl::RED_BITS |
gl::SAMPLE_BUFFERS |
gl::SAMPLES |
gl::STENCIL_BACK_FAIL |
@@ -725,7 +725,7 @@ impl WebGLCommand {
gl::STENCIL_BACK_REF |
gl::STENCIL_BACK_VALUE_MASK |
gl::STENCIL_BACK_WRITEMASK |
//gl::STENCIL_BITS |
gl::STENCIL_BITS |
gl::STENCIL_CLEAR_VALUE |
gl::STENCIL_FAIL |
gl::STENCIL_FUNC |
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.