Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5239 in orxonox.OLD for trunk/src/lib/graphics/importer


Ignore:
Timestamp:
Sep 24, 2005, 11:13:32 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: compile-performance-stuff

File:
1 edited

Legend:

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

    r4836 r5239  
    99#define _TEXTURE_H
    1010
    11 #include "sdlincl.h"
    1211#include "glincl.h"
    1312
    1413#include "debug.h"
    1514
     15struct SDL_Surface;
     16
    1617//! an enumerator for different procedural texture-types
    1718typedef enum TEXTURE_TYPE { TEXTURE_RADIAL_ALIAS,
    18                             TEXTURE_NOISE };
     19                            TEXTURE_NOISE };
    1920
    2021//! A Class, that reads in Textures from different fileformats.
     
    2829
    2930  /** @returns The textureID of this texture.  */
    30   inline GLuint getTexture() {return this->texture;}
     31  inline GLuint getTexture() const { return this->texture; };
    3132  GLuint loadTexToGL (SDL_Surface* surface);
    3233  /** @returns true if texture has alpha, false otherwise */
Note: See TracChangeset for help on using the changeset viewer.