Skip to content

Commit

Permalink
Fixes shader compilation missing processing
Browse files Browse the repository at this point in the history
When shader compilation failed, No error where given in the console
  • Loading branch information
Kuranes committed Aug 1, 2018
1 parent 27469af commit 55b3797
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sources/osg/Program.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ utils.createPrototypeStateAttribute(
},

_glShaderCompilationResult: function(gl, shader) {
if (shader.shader) return true;
var success = shader.getCompilationResult(gl, errorCallback);
if (shaderStats) {
if (this._asyncCompilation === undefined) glSync(gl);
Expand Down

0 comments on commit 55b3797

Please sign in to comment.