From 203133bb3f897428e1fb6b95e6757eeba961fc32 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 28 Jan 2005 11:01:11 +0000 Subject: [PATCH] Added definitation for GL_COMPRESSED_* tokens for case where early OpenGL headers don't provide them. --- include/osg/Image | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/osg/Image b/include/osg/Image index 5f0588a6c..2e6a3c4ae 100644 --- a/include/osg/Image +++ b/include/osg/Image @@ -38,6 +38,15 @@ #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 #endif +#ifndef GL_COMPRESSED_ALPHA + #define GL_COMPRESSED_ALPHA 0x84E9 + #define GL_COMPRESSED_LUMINANCE 0x84EA + #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB + #define GL_COMPRESSED_INTENSITY 0x84EC + #define GL_COMPRESSED_RGB 0x84ED + #define GL_COMPRESSED_RGBA 0x84EE +#endif + namespace osg { /** Image class for encapsulating the storage texture image data. */