diff options
Diffstat (limited to '')
-rw-r--r-- | src/menu/application.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/menu/application.cpp b/src/menu/application.cpp index cd234250..86bb9232 100644 --- a/src/menu/application.cpp +++ b/src/menu/application.cpp @@ -139,12 +139,9 @@ namespace usdx 24, SDL_OPENGL); - glEnable(GL_TEXTURE_2D); - - glClearColor(0.0f, 0.0f, 0.0f, 0.0f); - glViewport(0, 0, get_width(), get_height()); + glClearColor(0.0f, 0.0f, 0.0f, 0.0f); glClear(GL_COLOR_BUFFER_BIT); glMatrixMode(GL_PROJECTION); @@ -154,6 +151,8 @@ namespace usdx glMatrixMode(GL_MODELVIEW); glLoadIdentity(); + + glEnable(GL_TEXTURE_2D); glDisable(GL_DEPTH_TEST); } |