fix: reset currentTexId when surface is recreated

caused textured lines not to be rendered when resuming application
This commit is contained in:
Hannes Janetzek
2014-02-02 00:06:53 +01:00
parent 9b1eb04a51
commit ebc8cbcaf0
+1
View File
@@ -42,6 +42,7 @@ public class GLState {
depth = false;
stencil = false;
shader = -1;
currentTexId = -1;
GL.glDisable(GL20.GL_STENCIL_TEST);
GL.glDisable(GL20.GL_DEPTH_TEST);