Changeset 6651 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Jan 22, 2006, 2:22:48 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/material.cc
r6645 r6651 81 81 ResourceManager::getInstance()->unload(this->diffuseTexture); 82 82 if (m.diffuseTexture != NULL) 83 this->diffuseTexture = m.diffuseTexture; /// HACK shoudl be:(Texture*)ResourceManager::getInstance()->load();83 this->diffuseTexture = (Texture*)ResourceManager::getInstance()->copy(m.diffuseTexture); 84 84 this->ambientTexture = NULL; /// FIXME 85 85 this->specularTexture = NULL; /// FIXME -
trunk/src/lib/particles/sprite_particles.cc
r6628 r6651 125 125 GLboolean checkLight = false; 126 126 glGetBooleanv(GL_LIGHTING, &checkLight); 127 if (checkLight == GL_TRUE)128 glDisable(GL_LIGHTING);127 // if (checkLight == GL_TRUE) 128 // glDisable(GL_LIGHTING); 129 129 glMatrixMode(GL_MODELVIEW); 130 130 glDepthMask(GL_FALSE);
Note: See TracChangeset
for help on using the changeset viewer.