summaryrefslogtreecommitdiff
path: root/src/render/mobileopengl2graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/mobileopengl2graphics.cpp')
-rw-r--r--src/render/mobileopengl2graphics.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/mobileopengl2graphics.cpp b/src/render/mobileopengl2graphics.cpp
index 6c0762934..620bc923a 100644
--- a/src/render/mobileopengl2graphics.cpp
+++ b/src/render/mobileopengl2graphics.cpp
@@ -198,6 +198,11 @@ void MobileOpenGL2Graphics::postInit() restrict2
mglUniform2f(mTextureSizeUniform,
1.0f,
1.0f);
+ mglUniform4f(mSimpleColorUniform,
+ 0.0F,
+ 0.0F,
+ 0.0F,
+ 0.0F);
mglActiveTexture(GL_TEXTURE0);
}
@@ -207,6 +212,7 @@ void MobileOpenGL2Graphics::screenResized() restrict2
deleteGLObjects();
mVboBinded = 0U;
mAttributesBinded = 0U;
+ mColor = Color(0, 0, 0, 0);
postInit();
}