diff options
author | Chris "Koying" Browet <cbro@semperpax.com> | 2015-04-03 15:57:18 +0200 |
---|---|---|
committer | Chris "Koying" Browet <cbro@semperpax.com> | 2015-04-04 10:45:31 +0200 |
commit | 22c21173039213094a7956001944dc25b03d4158 (patch) | |
tree | 99152ae694781282e8e7e9669fbbd586b2ba9864 | |
parent | 96d53d4275bbd05aeaec0449728f335bb084421c (diff) |
FIX: [egl;font] assert if cache texture was not created
-rw-r--r-- | xbmc/guilib/GUIFontTTFGL.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/guilib/GUIFontTTFGL.cpp b/xbmc/guilib/GUIFontTTFGL.cpp index 79f32ddef1..8e5aa611cd 100644 --- a/xbmc/guilib/GUIFontTTFGL.cpp +++ b/xbmc/guilib/GUIFontTTFGL.cpp @@ -140,8 +140,6 @@ bool CGUIFontTTFGL::FirstBegin() VerifyGLState(); } -#else - g_Windowing.EnableGUIShader(SM_FONTS); #endif return true; } @@ -168,6 +166,8 @@ void CGUIFontTTFGL::LastEnd() glDisable(GL_TEXTURE_2D); #else // GLES 2.0 version. + g_Windowing.EnableGUIShader(SM_FONTS); + CreateStaticVertexBuffers(); GLint posLoc = g_Windowing.GUIShaderGetPos(); |