Skip to content
Permalink
Browse files

RenderSystem: Load correct identity

  • Loading branch information
fritsch authored and popcornmix committed May 13, 2016
1 parent 7e5e875 commit 3a6356072657340a91fd674aab770265c7c88e7c
Showing with 2 additions and 2 deletions.
  1. +1 −1 xbmc/rendering/gl/RenderSystemGL.cpp
  2. +1 −1 xbmc/rendering/gles/RenderSystemGLES.cpp
@@ -186,7 +186,7 @@ bool CRenderSystemGL::ResetRenderSystem(int width, int height, bool fullScreen,
glEnable(GL_SCISSOR_TEST);

glMatrixProject.Clear();
glMatrixModview->LoadIdentity();
glMatrixProject->LoadIdentity();
glMatrixProject->Ortho(0.0f, width-1, height-1, 0.0f, -1.0f, 1.0f);
glMatrixProject.Load();

@@ -151,7 +151,7 @@ bool CRenderSystemGLES::ResetRenderSystem(int width, int height, bool fullScreen
glEnable(GL_SCISSOR_TEST);

glMatrixProject.Clear();
glMatrixModview->LoadIdentity();
glMatrixProject->LoadIdentity();
glMatrixProject->Ortho(0.0f, width-1, height-1, 0.0f, -1.0f, 1.0f);
glMatrixProject.Load();

0 comments on commit 3a63560

Please sign in to comment.
You can’t perform that action at this time.