Changeset 5856 in orxonox.OLD for trunk/src/lib/graphics/importer/texture.h
- Timestamp:
- Dec 1, 2005, 6:32:59 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/texture.h
r5768 r5856 34 34 inline bool hasAlpha() const {return bAlpha;} 35 35 36 static GLuint loadTexToGL (const SDL_Surface* surface); 37 38 const SDL_Surface* const getStoredImage() { return this->image; }; 39 36 40 protected: 37 41 bool prepareSurface(SDL_Surface* input); 38 42 bool setSurface(SDL_Surface* newSurface); 43 bool setTexture(GLuint texture) { this->texture = texture; }; 39 44 40 GLuint loadTexToGL ();41 45 42 46 private:
Note: See TracChangeset
for help on using the changeset viewer.