Changeset 7195 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Mar 7, 2006, 11:12:31 PM (19 years ago)
- Location:
- trunk/src/lib/graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/texture_sequence.h
r7194 r7195 9 9 #include "texture.h" 10 10 11 #include "glincl.h"12 13 11 #include <vector> 14 12 #include <stdarg.h> 15 13 16 /* Forward Declaration */17 struct SDL_Surface;18 14 19 15 //! A Class, that reads in Textures from different fileformats. -
trunk/src/lib/graphics/shader.h
r7164 r7195 42 42 static bool checkShaderAbility(); 43 43 44 inline static bool shaderActive() { return (Shader::storedShader != NULL)? true:false; };44 inline static bool shaderActive() { return (Shader::storedShader != NULL)? true : false; }; 45 45 inline static Shader* getActiveShader() { return Shader::storedShader; }; 46 46 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.