Changeset 6523 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Jan 18, 2006, 2:54:04 AM (19 years ago)
- Location:
- trunk/src/lib/graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r6522 r6523 474 474 void GraphicsEngine::wireframe() 475 475 { 476 glPolygonMode(GL_FRONT _AND_BACK, GL_LINE);476 glPolygonMode(GL_FRONT, GL_LINE); 477 477 } 478 478 -
trunk/src/lib/graphics/importer/texture.cc
r6465 r6523 276 276 0, 277 277 GL_RGBA, 278 surface->w, surface->h, 278 surface->w, 279 surface->h, 279 280 0, 280 281 GL_RGBA, … … 294 295 PRINTF(1)("Error while loading texture (mipmap generation), gluBuild2DMipmaps returned %i\n", errorCode); 295 296 296 glBindTexture(target, 0); 297 if (target == GL_TEXTURE_2D) 298 glBindTexture(target, 0); 297 299 return texture; 298 300 }
Note: See TracChangeset
for help on using the changeset viewer.