Fix crash bug

This commit is contained in:
Henrik Rydgard committed 2017-01-23 21:09:20 +01:00
1 parent 59d80a3785
commit 097638f4fd
1 file changed
+1
+1
View File
@@ -406,6 +406,7 @@ GPU_GLES::GPU_GLES(GraphicsContext *ctx)
framebufferManager_ = framebufferManagerGL_;
textureCacheGL_ = new TextureCacheGLES();
textureCache_ = textureCacheGL_;
drawEngineCommon_ = &drawEngine_;
drawEngine_.SetShaderManager(shaderManager_);
drawEngine_.SetTextureCache(textureCacheGL_);