Skip to content

Commit 5e4bfa9

Browse files
authored
Save/restore textureMode with push/pop
1 parent 60dbf86 commit 5e4bfa9

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)