Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7195 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
Mar 7, 2006, 11:12:31 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: performance issues

Location:
trunk/src/lib/graphics
Files:
2 edited

Legend:

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

    r7194 r7195  
    99#include "texture.h"
    1010
    11 #include "glincl.h"
    12 
    1311#include <vector>
    1412#include <stdarg.h>
    1513
    16 /* Forward Declaration */
    17 struct SDL_Surface;
    1814
    1915//! A Class, that reads in Textures from different fileformats.
  • trunk/src/lib/graphics/shader.h

    r7164 r7195  
    4242  static bool checkShaderAbility();
    4343
    44   inline static bool shaderActive() { return (Shader::storedShader != NULL)?true:false; };
     44  inline static bool shaderActive() { return (Shader::storedShader != NULL)? true : false; };
    4545  inline static Shader* getActiveShader() { return Shader::storedShader; };
    4646  inline static void suspendShader() { Shader* currShader = storedShader; if (storedShader!= NULL) { Shader::deactivateShader(); Shader::storedShader = currShader;} };
Note: See TracChangeset for help on using the changeset viewer.