Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5859 in orxonox.OLD for trunk/src/lib/graphics/importer/texture.h


Ignore:
Timestamp:
Dec 1, 2005, 8:19:26 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: small changes in the Texture interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/texture.h

    r5858 r5859  
    3939
    4040      // Utility functionality:
     41      static SDL_Surface* prepareSurface(SDL_Surface* input, bool& hasAlpha);
    4142      static GLuint loadTexToGL (const SDL_Surface* surface);
    4243
    4344    protected:
    44       bool prepareSurface(SDL_Surface* input);
     45
    4546      bool setSurface(SDL_Surface* newSurface);
     47      bool setAlpha(bool hasAlpha) { this->bAlpha = hasAlpha; };
    4648      bool setTexture(GLuint texture) { this->texture = texture; };
    4749
Note: See TracChangeset for help on using the changeset viewer.