Remove glMatrixMode and glLoadIdentity calls in Render.cpp which do absolutely nothing.

This commit is contained in:
Ryan Houdek 2012-10-27 18:27:16 -05:00
parent 8c1d104ca3
commit dfb3c44d1a
1 changed files with 0 additions and 10 deletions

View File

@ -458,11 +458,6 @@ Renderer::Renderer()
glViewport(0, 0, GetTargetWidth(), GetTargetHeight()); // Reset The Current Viewport
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glShadeModel(GL_SMOOTH);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClearDepth(1.0f);
@ -479,11 +474,6 @@ Renderer::Renderer()
glBlendColorEXT(0, 0, 0, 0.5f);
glClearDepth(1.0f);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
// legacy multitexturing: select texture channel only.
glActiveTexture(GL_TEXTURE0);
glClientActiveTexture(GL_TEXTURE0);