summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/internal/glcore.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/GL/internal/glcore.h b/include/GL/internal/glcore.h
index 48748d91e8..b2224b753e 100644
--- a/include/GL/internal/glcore.h
+++ b/include/GL/internal/glcore.h
@@ -137,6 +137,13 @@ typedef struct __GLcontextModesRec {
GLint swapMethod;
GLint screen;
+
+ /* EXT_texture_from_pixmap */
+ GLint bindToTextureRgb;
+ GLint bindToTextureRgba;
+ GLint bindToMipmapTexture;
+ GLint bindToTextureTargets;
+ GLint yInverted;
} __GLcontextModes;
/* Several fields of __GLcontextModes can take these as values. Since
@@ -166,6 +173,17 @@ typedef struct __GLcontextModesRec {
#define GLX_PIXMAP_BIT 0x00000002
#define GLX_PBUFFER_BIT 0x00000004
+#define GLX_Y_INVERTED_EXT 0x6009
+#define GLX_BIND_TO_TEXTURE_RGB_EXT 0x600A
+#define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x600B
+#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x600C
+#define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x600D
+
+#define GLX_TEXTURE_1D_BIT_EXT 0x00000001
+#define GLX_TEXTURE_2D_BIT_EXT 0x00000002
+#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004
+
+
/************************************************************************/
/*