Mesa (master): glapi: Include glheader.h in glapi_nop.c.
Chia-I Wu
olv at kemper.freedesktop.org
Sat Jan 23 02:22:52 UTC 2010
Module: Mesa
Branch: master
Commit: 4b770d1a11c289914bf54f4b3365f21615661c29
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b770d1a11c289914bf54f4b3365f21615661c29
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Sat Jan 23 10:23:37 2010 +0800
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.
---
src/mesa/glapi/glapi_nop.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/src/mesa/glapi/glapi_nop.c b/src/mesa/glapi/glapi_nop.c
index 0c53bd8..5d2769c 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"
More information about the mesa-commit
mailing list