Changeset 3536 in orxonox.OLD for orxonox/trunk/src/lib
- Timestamp:
- Mar 13, 2005, 11:57:19 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/material.cc
r3454 r3536 153 153 154 154 if (this->diffuseTextureSet) 155 glBindTexture(GL_TEXTURE_2D, this->diffuseTexture->getTexture()); 155 { 156 glEnable(GL_TEXTURE_2D); 157 glBindTexture(GL_TEXTURE_2D, this->diffuseTexture->getTexture()); 158 } 156 159 else 157 glBindTexture(GL_TEXTURE_2D, 0); 158 160 { 161 glDisable(GL_TEXTURE_2D); 162 glBindTexture(GL_TEXTURE_2D, 0); 163 } 159 164 } 160 165
Note: See TracChangeset
for help on using the changeset viewer.