From 22c21173039213094a7956001944dc25b03d4158 Mon Sep 17 00:00:00 2001 From: "Chris \"Koying\" Browet" Date: Fri, 3 Apr 2015 15:57:18 +0200 Subject: FIX: [egl;font] assert if cache texture was not created --- xbmc/guilib/GUIFontTTFGL.cpp | 4 ++-- 1 file 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(); -- cgit v1.2.3