aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/guilib/GUIFontTTFGL.cpp4
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();