From 949c71490b626819e575462daeaa9bfb3aa3c009 Mon Sep 17 00:00:00 2001 From: Philip Falkner Date: Wed, 31 Jan 2007 17:56:08 +0000 Subject: [PATCH] Add some missing texture_from_pixmap defines. svn path=/branches/work/kwin_composite/; revision=628843 --- glutils.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/glutils.h b/glutils.h index b72d84840e..eb3372f81d 100644 --- a/glutils.h +++ b/glutils.h @@ -63,6 +63,14 @@ inline bool isPowerOfTwo( int x ) { return (( x & ( x - 1 )) == 0 ); } #define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9 #define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA +#define GLX_TEXTURE_1D_BIT_EXT 0x00000001 +#define GLX_TEXTURE_2D_BIT_EXT 0x00000002 +#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004 + +#define GLX_TEXTURE_1D_EXT 0x20DB +#define GLX_TEXTURE_2D_EXT 0x20DC +#define GLX_TEXTURE_RECTANGLE_EXT 0x20DD + #define GLX_FRONT_LEFT_EXT 0x20DE // Function pointers