From: Chia-I Wu Date: Sat, 23 Jan 2010 02:23:37 +0000 (+0800) Subject: glapi: Include glheader.h in glapi_nop.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b770d1a11c289914bf54f4b3365f21615661c29;p=mesa.git 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. --- diff --git a/src/mesa/glapi/glapi_nop.c b/src/mesa/glapi/glapi_nop.c index 0c53bd8a3f6..5d2769c0738 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"