Skip to content

Commit

Permalink
Merge branch 'master' into bhouston-OES_standard_derivatives
Browse files Browse the repository at this point in the history
  • Loading branch information
dhritzkiv authored Jan 19, 2020
2 parents 88a1bf9 + 5017d22 commit 7fe1a47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gl",
"version": "4.4.0",
"version": "4.4.1",
"description": "Creates a WebGL context without a window",
"main": "index.js",
"directories": {
Expand Down
3 changes: 0 additions & 3 deletions src/javascript/webgl-rendering-context.js
Original file line number Diff line number Diff line change
Expand Up @@ -837,9 +837,6 @@ class WebGLRenderingContext extends NativeWebGLRenderingContext {
source = '#undef GL_OES_standard_derivatives\n' + source
}

if (this._extensions.webgl_draw_buffers) { // eslint-disable-line
return source
}
return this._extensions.webgl_draw_buffers ? source : '#define gl_MaxDrawBuffers 1\n' + source // eslint-disable-line
}

Expand Down

0 comments on commit 7fe1a47

Please sign in to comment.