Skip to content

Commit cfc17d3

Browse files
authored
Merge pull request #7358 from processing/fix/texture-mode
Save/restore textureMode with push/pop
2 parents 60dbf86 + 5e4bfa9 commit cfc17d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/webgl/p5.RendererGL.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,6 +1667,8 @@ p5.RendererGL = class RendererGL extends p5.Renderer {
16671667
// So that the activeImageLight gets reset in push/pop
16681668
properties.activeImageLight = this.activeImageLight;
16691669

1670+
properties.textureMode = this.textureMode;
1671+
16701672
return style;
16711673
}
16721674
pop(...args) {

0 commit comments

Comments
 (0)