Changeset 5306 in orxonox.OLD for trunk/src/lib/graphics/importer/material.cc
- Timestamp:
- Oct 7, 2005, 6:17:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/material.cc
r5303 r5306 31 31 32 32 /** 33 * 33 * creates a Material. 34 34 * @param mtlName Name of the Material to be added to the Material List 35 */35 */ 36 36 Material::Material (const char* mtlName) 37 37 { … … 105 105 glShadeModel(GL_SMOOTH); 106 106 107 if (this->diffuseTexture )107 if (this->diffuseTexture != NULL) 108 108 { 109 109 glEnable(GL_TEXTURE_2D);
Note: See TracChangeset
for help on using the changeset viewer.