diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2008-05-20 11:38:57 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2008-05-20 11:38:57 (GMT) |
commit | 2018e9a939fa79518f6ce020f64714730d5be959 (patch) | |
tree | 22d682392cf7434f9680671c89da1569a3125b54 /matchblox/main.cpp | |
parent | feacf51e22520a397115fd8cc1a243c305bcb90d (diff) | |
download | 2iv55-2018e9a939fa79518f6ce020f64714730d5be959.zip 2iv55-2018e9a939fa79518f6ce020f64714730d5be959.tar.gz 2iv55-2018e9a939fa79518f6ce020f64714730d5be959.tar.bz2 |
voided gamestep
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();
|