Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8308 in orxonox.OLD for branches/terrain/src/lib/graphics


Ignore:
Timestamp:
Jun 10, 2006, 5:26:50 PM (18 years ago)
Author:
ponder
Message:
  • orxonox crashed on osx when a call to the opengl subsystem was done before the window was created. I changed the

order of initialisation in graphics_engine.cc.

  • orxonox.cc contained a bug when debug level is set unter 3
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/terrain/src/lib/graphics/graphics_engine.cc

    r8148 r8308  
    234234  // Enable default GL stuff
    235235  glEnable(GL_DEPTH_TEST);
    236 
     236  glEnable(GL_CULL_FACE);
     237  glCullFace(GL_FRONT);
    237238  Render2D::getInstance();
    238239
     
    287288  SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);  //Enable double buffering
    288289
    289   glEnable(GL_CULL_FACE);
    290   glCullFace(GL_FRONT);
    291290}
    292291
Note: See TracChangeset for help on using the changeset viewer.