aboutsummaryrefslogtreecommitdiff
path: root/xbmc/cores/VideoPlayer/VideoRenderers/OverlayRendererGL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/cores/VideoPlayer/VideoRenderers/OverlayRendererGL.cpp')
-rw-r--r--xbmc/cores/VideoPlayer/VideoRenderers/OverlayRendererGL.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/xbmc/cores/VideoPlayer/VideoRenderers/OverlayRendererGL.cpp b/xbmc/cores/VideoPlayer/VideoRenderers/OverlayRendererGL.cpp
index 3caa28e4bf..8559d22eae 100644
--- a/xbmc/cores/VideoPlayer/VideoRenderers/OverlayRendererGL.cpp
+++ b/xbmc/cores/VideoPlayer/VideoRenderers/OverlayRendererGL.cpp
@@ -293,6 +293,11 @@ void COverlayGlyphGL::Render(SRenderState& state)
GLint posLoc = renderSystem->ShaderGetPos();
GLint colLoc = renderSystem->ShaderGetCol();
GLint tex0Loc = renderSystem->ShaderGetCoord0();
+ GLint matrixUniformLoc = renderSystem->ShaderGetMatrix();
+
+ CMatrixGL matrix = glMatrixProject.Get();
+ matrix.MultMatrixf(glMatrixModview.Get());
+ glUniformMatrix4fv(matrixUniformLoc, 1, GL_FALSE, matrix);
std::vector<VERTEX> vecVertices(6 * m_vertex.size() / 4);
VERTEX* vertices = vecVertices.data();