aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjenkins4kodi <jenkins4kodi@users.noreply.github.com>2015-04-12 11:18:13 +0200
committerjenkins4kodi <jenkins4kodi@users.noreply.github.com>2015-04-12 11:18:13 +0200
commit1549e4e19ab23f9801ce847a868ce2ad447df67e (patch)
tree24c95258bc10784dee844b59af19869610ea68b6
parent4aa98b0e62a69a44111855daa64d69bcb04d4084 (diff)
parent22c21173039213094a7956001944dc25b03d4158 (diff)
Merge pull request #6873 from koying/fixeglfont
-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();