summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-23 10:23:37 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-23 10:24:49 +0800
commit4b770d1a11c289914bf54f4b3365f21615661c29 (patch)
tree7cecae7847aebe9d249fd7a80da6e17233d89303 /src/mesa
parentfe33b7083b0081b91ee338acbe966400c6b9a7b9 (diff)
glapi: Include glheader.h in glapi_nop.c.
In addition to OpenGL headers, glheader.h also defines OpenGL ES types that are used in core Mesa or ES overlay.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/glapi/glapi_nop.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mesa/glapi/glapi_nop.c b/src/mesa/glapi/glapi_nop.c
index 0c53bd8a3f..5d2769c073 100644
--- a/src/mesa/glapi/glapi_nop.c
+++ b/src/mesa/glapi/glapi_nop.c
@@ -39,6 +39,7 @@
#include "main/compiler.h"
+#include "main/glheader.h"
#include "glapi/glapi.h"
@@ -87,11 +88,4 @@ NoOpUnused(void)
#define UNUSED_TABLE_NAME __unused_noop_functions
-/*
- * Types needed when generating ES 1 functions.
- */
-typedef int GLfixed;
-typedef int GLclampx;
-
-
#include "glapi/glapitemp.h"