Changeset 5755 in orxonox.OLD for trunk/src/lib/graphics/importer
- Timestamp:
- Nov 24, 2005, 1:49:15 PM (19 years ago)
- Location:
- trunk/src/lib/graphics/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/texture.cc
r5754 r5755 106 106 } 107 107 108 bool Texture::re load()108 bool Texture::rebuild() 109 109 { 110 110 if (this->texture != 0) … … 115 115 116 116 if (this->image != NULL) 117 this->texture = this->loadTexToGL(this->image); 117 { 118 PRINTF(4)("Reloading Texture %s\n", this->getName()); 119 this->texture = this->loadTexToGL(this->image); 120 } 118 121 119 122 } -
trunk/src/lib/graphics/importer/texture.h
r5753 r5755 29 29 30 30 bool loadImage(const char* imageName); 31 bool re load();31 bool rebuild(); 32 32 33 33 /** @returns The textureID of this texture. */
Note: See TracChangeset
for help on using the changeset viewer.