Skip to content

Commit

Permalink
Merge pull request #6474 from Gaurav-1306/setuniform
Browse files Browse the repository at this point in the history
Setuniform
  • Loading branch information
davepagurek authored Oct 16, 2023
2 parents b007470 + 332ab1e commit b53c18e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/webgl/p5.RendererGL.Immediate.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ p5.RendererGL.prototype.vertex = function(x, y) {
u /= this._tex.width;
v /= this._tex.height;
}
} else if (
this.userFillShader !== undefined ||
this.userStrokeShader !== undefined ||
this.userPointShader !== undefined
) {
// Do nothing if user-defined shaders are present
} else if (
this._tex === null &&
arguments.length >= 4
Expand Down

0 comments on commit b53c18e

Please sign in to comment.