Changeset 4008 in orxonox.OLD for orxonox/branches/shadows/src/orxonox.cc
- Timestamp:
- Apr 29, 2005, 11:10:15 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/shadows/src/orxonox.cc
r3839 r4008 133 133 134 134 int bpp = 16; 135 int width = 1024;136 int height = 768;135 int width = 400; 136 int height = 300; 137 137 //Uint32 flags = SDL_HWSURFACE | SDL_OPENGL | SDL_GL_DOUBLEBUFFER; /* \todo: SDL_OPENGL doen't permit to load images*/ 138 138 //Uint32 flags = SDL_HWSURFACE | SDL_GL_DOUBLEBUFFER; … … 185 185 glEnable (GL_LIGHTING); 186 186 glEnable (GL_LIGHT0); 187 glEnable (GL_LIGHT1);187 //glEnable (GL_LIGHT1); 188 188 glEnable (GL_DEPTH_TEST); 189 189 glLightfv (GL_LIGHT0, GL_POSITION, lightPosition);
Note: See TracChangeset
for help on using the changeset viewer.