Changeset 5859 in orxonox.OLD for trunk/src/lib/graphics/importer/texture.h
- Timestamp:
- Dec 1, 2005, 8:19:26 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/texture.h
r5858 r5859 39 39 40 40 // Utility functionality: 41 static SDL_Surface* prepareSurface(SDL_Surface* input, bool& hasAlpha); 41 42 static GLuint loadTexToGL (const SDL_Surface* surface); 42 43 43 44 protected: 44 bool prepareSurface(SDL_Surface* input); 45 45 46 bool setSurface(SDL_Surface* newSurface); 47 bool setAlpha(bool hasAlpha) { this->bAlpha = hasAlpha; }; 46 48 bool setTexture(GLuint texture) { this->texture = texture; }; 47 49
Note: See TracChangeset
for help on using the changeset viewer.