diff options
author | Stijn Buys <ingar@osirion.org> | 2009-02-21 13:38:12 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-02-21 13:38:12 +0000 |
commit | 1a4ae6ca5cd3aac0fd639c554e824525d98676ea (patch) | |
tree | 35ae5e26fc98c60c38a4365aef45a6342039cc56 /src/render/gl.h | |
parent | 028d9195a9a8482cff9ae4b2e3ea77d1de24b732 (diff) |
sane version number,
conditional definition of missing OpenGL defines on win32,
updated planet collision warning message,
removed material loader debug messages
Diffstat (limited to 'src/render/gl.h')
-rw-r--r-- | src/render/gl.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/render/gl.h b/src/render/gl.h index c8e51eb..dc0b5a1 100644 --- a/src/render/gl.h +++ b/src/render/gl.h @@ -16,11 +16,21 @@ #include "math/color.h" #ifdef _WIN32 + +#ifndef GL_RESCALE_NORMAL #define GL_RESCALE_NORMAL 0x803A +#endif + +#ifndef GL_TEXTURE_MAX_LEVEL #define GL_TEXTURE_MAX_LEVEL 0x813D +#endif + +#ifndef GL_GENERATE_MIPMAP #define GL_GENERATE_MIPMAP 0x8191 #endif +#endif + /// wrapper namespace for OpenGL operations /** The gl namespace provides a wrapper to the OpenGL library functions. * All methods take floats or Vector3f and Color as parameters. |