diff options
Diffstat (limited to 'matchblox/main.cpp')
-rw-r--r-- | matchblox/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/matchblox/main.cpp b/matchblox/main.cpp index 9bcfd5d..f2bfe54 100644 --- a/matchblox/main.cpp +++ b/matchblox/main.cpp @@ -54,8 +54,10 @@ void render_scene(void) glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
g_pEngine->Render(glutGet(GLUT_ELAPSED_TIME));
-
+ + glDisable(GL_LIGHTING);
MenuRender();
+ glEnable(GL_LIGHTING); glutSwapBuffers();
|