mesa/main: Add more OpenGL ES types to glheader.h.
authorChia-I Wu <olvaffe@gmail.com>
Mon, 21 Sep 2009 10:46:28 +0000 (18:46 +0800)
committerBrian Paul <brianp@vmware.com>
Fri, 6 Nov 2009 03:04:10 +0000 (20:04 -0700)
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/mesa/main/glheader.h
src/mesa/swrast/swrast.h

index 81d4ccf919f50c4cb4ba730a11acc41f68fcb1fe..77544c88c669ca5f24dca9f164dd11f58c01afa5 100644 (file)
 
 #ifndef GL_FIXED
 #define GL_FIXED 0x140C
+typedef int GLfixed;
+typedef int GLclampx;
+#endif
+
+
+#ifndef GL_OES_EGL_image
+typedef void *GLeglImageOES;
 #endif
 
 
index c183b315b6739a43dcf42170622b7968ae6ed48c..c01cf7d1f0b505acb5ed24683d514c429c615f64 100644 (file)
@@ -75,12 +75,6 @@ typedef struct {
 } SWvertex;
 
 
-/**
- * Fixed point data type.
- */
-typedef int GLfixed;
-
-
 #define FRAG_ATTRIB_CI FRAG_ATTRIB_COL0