Skip to content

Commit

Permalink
Formatting checks...
Browse files Browse the repository at this point in the history
  • Loading branch information
nightgryphon committed Jul 17, 2023
1 parent 7384488 commit db6d945
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/shader.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ Shader.prototype = {
* Called during shader initialization and is only run once.
*/
init: function (data) {
if( this.raw )
if (this.raw) {
console.warn('RAW shaders enforced to GLSL3.');
}

this.attributes = this.initVariables(data, 'attribute');
this.uniforms = this.initVariables(data, 'uniform');
Expand Down

0 comments on commit db6d945

Please sign in to comment.