From 8d2edbf1395ca1e2d23b3bd2ba2c5d54f21d377b Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 21 Sep 2009 18:46:28 +0800 Subject: mesa/main: Add more OpenGL ES types to glheader.h. Signed-off-by: Chia-I Wu --- src/mesa/main/glheader.h | 7 +++++++ src/mesa/swrast/swrast.h | 6 ------ 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 -- cgit v1.2.3