Changeset 7922 in orxonox.OLD for trunk/src/lib/graphics/importer
- Timestamp:
- May 28, 2006, 4:02:16 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/material.cc
r7921 r7922 112 112 for(unsigned int i = 0; i < Material::selectedMaterial->textures.size(); ++i) 113 113 { 114 //glActiveTexture(Material::glTextureArbs[i]);114 glActiveTexture(Material::glTextureArbs[i]); 115 115 //glBindTexture(GL_TEXTURE_2D, 0); 116 116 glDisable(GL_TEXTURE_2D); … … 149 149 for(unsigned int i = 0; i < this->textures.size(); ++i) 150 150 { 151 //glActiveTexture(Material::glTextureArbs[i]);151 glActiveTexture(Material::glTextureArbs[i]); 152 152 glEnable(GL_TEXTURE_2D); 153 153 if(this->textures[i].hasAlpha())
Note: See TracChangeset
for help on using the changeset viewer.