Changeset 5381 in orxonox.OLD for branches/2d-recalc/src/lib/graphics/graphics_engine.cc
- Timestamp:
- Oct 15, 2005, 7:13:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2d-recalc/src/lib/graphics/graphics_engine.cc
r5380 r5381 410 410 depending on how you have your OpenGL state set up. 411 411 */ 412 glPushAttrib(GL_ENABLE_BIT); 412 glPushAttrib(GL_ENABLE_BIT); // storte the state of all enable-bits. 413 413 glDisable(GL_DEPTH_TEST); 414 414 glDisable(GL_CULL_FACE); 415 glDisable(GL_LIGHTING); // will be set back when leaving 2D-mode 416 415 glDisable(GL_LIGHTING); 417 416 glViewport(0, 0, screen->w, screen->h); 418 417
Note: See TracChangeset
for help on using the changeset viewer.