fix: reset currentTexId when surface is recreated
caused textured lines not to be rendered when resuming application
This commit is contained in:
parent
9b1eb04a51
commit
ebc8cbcaf0
@ -42,6 +42,7 @@ public class GLState {
|
|||||||
depth = false;
|
depth = false;
|
||||||
stencil = false;
|
stencil = false;
|
||||||
shader = -1;
|
shader = -1;
|
||||||
|
currentTexId = -1;
|
||||||
|
|
||||||
GL.glDisable(GL20.GL_STENCIL_TEST);
|
GL.glDisable(GL20.GL_STENCIL_TEST);
|
||||||
GL.glDisable(GL20.GL_DEPTH_TEST);
|
GL.glDisable(GL20.GL_DEPTH_TEST);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user