From 4b770d1a11c289914bf54f4b3365f21615661c29 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sat, 23 Jan 2010 10:23:37 +0800 Subject: 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 file changed, 1 insertion(+), 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" -- cgit v1.2.3