From 0f49e0b1e97981ff41e88ecac40e7f87475a08ba Mon Sep 17 00:00:00 2001 From: Ian Curtis Date: Sat, 8 Dec 2018 20:01:37 +0000 Subject: [PATCH] remove commands that do nothing --- Src/OSD/SDL/Main.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Src/OSD/SDL/Main.cpp b/Src/OSD/SDL/Main.cpp index 8fe51f8..d286db9 100644 --- a/Src/OSD/SDL/Main.cpp +++ b/Src/OSD/SDL/Main.cpp @@ -138,13 +138,7 @@ static bool SetGLGeometry(unsigned *xOffsetPtr, unsigned *yOffsetPtr, unsigned * glClearDepth(1.0); glDepthFunc(GL_LESS); glEnable(GL_DEPTH_TEST); - glShadeModel(GL_SMOOTH); - glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST); glDisable(GL_CULL_FACE); - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - gluPerspective(90.0,(GLfloat)xRes/(GLfloat)yRes,0.1,1e5); - glMatrixMode(GL_MODELVIEW); // Clear both buffers to ensure a black border for (int i = 0; i < 2; i++)