diff --git a/include/osg/Texture b/include/osg/Texture index cc6a83e8f..afda0228c 100644 --- a/include/osg/Texture +++ b/include/osg/Texture @@ -54,6 +54,25 @@ #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 #endif +#ifndef GL_ARB_INTERNAL_TEXTURE_FORMAT +#define GL_RGBA32F_ARB 0x8814 +#define GL_RGB32F_ARB 0x8815 +#define GL_ALPHA32F_ARB 0x8816 +#define GL_INTENSITY32F_ARB 0x8817 +#define GL_LUMINANCE32F_ARB 0x8818 +#define GL_LUMINANCE_ALPHA32F_ARB 0x8819 +#define GL_RGBA16F_ARB 0x881A +#define GL_RGB16F_ARB 0x881B +#define GL_ALPHA16F_ARB 0x881C +#define GL_INTENSITY16F_ARB 0x881D +#define GL_LUMINANCE16F_ARB 0x881E +#define GL_LUMINANCE_ALPHA16F_ARB 0x881F +#endif + +#ifndef GL_ARB_PIXEL_DATA +#define GL_HALF_FLOAT_ARB 0x140B +#endif + #ifndef GL_NV_texture_shader #define GL_HILO_NV 0x86F4 #define GL_DSDT_NV 0x86F5