Implement WebGL OES_standard_derivatives extension.

This commit is contained in:
Imanol Fernandez 2017-08-21 22:37:19 +02:00
parent d4e43d9d76
commit 1dd3899c37
9 changed files with 127 additions and 20 deletions

View file

@ -892,7 +892,8 @@ impl WebGLImpl {
gl::STENCIL_VALUE_MASK |
gl::STENCIL_WRITEMASK |
gl::SUBPIXEL_BITS |
gl::UNPACK_ALIGNMENT =>
gl::UNPACK_ALIGNMENT |
gl::FRAGMENT_SHADER_DERIVATIVE_HINT =>
//gl::UNPACK_COLORSPACE_CONVERSION_WEBGL =>
Ok(WebGLParameter::Int(gl.get_integer_v(param_id))),