Skip to content

Commit

Permalink
fixup! GL(ES): Simplify matrix stack handling
Browse files Browse the repository at this point in the history
  • Loading branch information
elupus authored and popcornmix committed Nov 21, 2014
1 parent d3df6a4 commit b32b187
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp
Expand Up @@ -1205,10 +1205,10 @@ void CLinuxRendererGLES::RenderMultiPass(int index, int field)
// glPushAttrib(GL_VIEWPORT_BIT);
// glPushAttrib(GL_SCISSOR_BIT);
glMatrixModview.Push();
glMatrixModview.LoadIdentity();
glMatrixModview->LoadIdentity();

glMatrixProject.Push();
glMatrixProject.LoadIdentity();
glMatrixProject->LoadIdentity();
glMatrixProject->Ortho2D(0, m_sourceWidth, 0, m_sourceHeight);

CRect viewport(0, 0, m_sourceWidth, m_sourceHeight);
Expand Down

0 comments on commit b32b187

Please sign in to comment.