Changeset 8484 in orxonox.OLD for branches/water/src/lib/graphics/importer
- Timestamp:
- Jun 15, 2006, 5:26:56 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/water/src/lib/graphics/importer/material.cc
r8376 r8484 352 352 assert(textureNumber < this->textures.size()); 353 353 354 // HACK 355 glActiveTexture(textureNumber); 356 glEnable(GL_TEXTURE_2D); 357 glBindTexture(GL_TEXTURE_2D, this->textures[textureNumber].getTexture()); 354 glEnable(GL_TEXTURE_2D); 355 glBindTexture(GL_TEXTURE_2D, this->textures[textureNumber].getTexture()); 358 356 glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); 359 357
Note: See TracChangeset
for help on using the changeset viewer.