Changeset 6523 in orxonox.OLD for trunk/src/lib/graphics/importer
- Timestamp:
- Jan 18, 2006, 2:54:04 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.