summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-09-21 18:46:28 +0800
committerBrian Paul <[email protected]>2009-11-05 20:04:10 -0700
commit8d2edbf1395ca1e2d23b3bd2ba2c5d54f21d377b (patch)
treef6ba194dec9f39cdc61260373de669d73d80f17c /src
parentc3d61d378574878deedb44d84f506ca23e66c6ca (diff)
mesa/main: Add more OpenGL ES types to glheader.h.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/glheader.h7
-rw-r--r--src/mesa/swrast/swrast.h6
2 files changed, 7 insertions, 6 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index 81d4ccf919f..77544c88c66 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -57,6 +57,13 @@
#ifndef GL_FIXED
#define GL_FIXED 0x140C
+typedef int GLfixed;
+typedef int GLclampx;
+#endif
+
+
+#ifndef GL_OES_EGL_image
+typedef void *GLeglImageOES;
#endif
diff --git a/src/mesa/swrast/swrast.h b/src/mesa/swrast/swrast.h
index c183b315b67..c01cf7d1f0b 100644
--- a/src/mesa/swrast/swrast.h
+++ b/src/mesa/swrast/swrast.h
@@ -75,12 +75,6 @@ typedef struct {
} SWvertex;
-/**
- * Fixed point data type.
- */
-typedef int GLfixed;
-
-
#define FRAG_ATTRIB_CI FRAG_ATTRIB_COL0