Skip to content

Commit

Permalink
Merge pull request #7358 from processing/fix/texture-mode
Browse files Browse the repository at this point in the history
Save/restore textureMode with push/pop
  • Loading branch information
davepagurek authored Nov 4, 2024
2 parents 60dbf86 + 5e4bfa9 commit cfc17d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/webgl/p5.RendererGL.js
Original file line number Diff line number Diff line change
Expand Up @@ -1667,6 +1667,8 @@ p5.RendererGL = class RendererGL extends p5.Renderer {
// So that the activeImageLight gets reset in push/pop
properties.activeImageLight = this.activeImageLight;

properties.textureMode = this.textureMode;

return style;
}
pop(...args) {
Expand Down

0 comments on commit cfc17d3

Please sign in to comment.