From d3f24ab33c284325abaf4b250f8928d4d53836e1 Mon Sep 17 00:00:00 2001 From: George Sapountzis Date: Tue, 2 Mar 2010 03:31:16 +0200 Subject: glapi: fix compile with ES --- src/mesa/glapi/glapi_getproc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa/glapi/glapi_getproc.c') diff --git a/src/mesa/glapi/glapi_getproc.c b/src/mesa/glapi/glapi_getproc.c index 5be6d65b56..a6dbf173e8 100644 --- a/src/mesa/glapi/glapi_getproc.c +++ b/src/mesa/glapi/glapi_getproc.c @@ -773,6 +773,7 @@ _glapi_get_proc_name(GLuint offset) void _glapi_check_table(const struct _glapi_table *table) { +#if 0 /* enable this for extra DEBUG */ { GLuint BeginOffset = _glapi_get_proc_offset("glBegin"); char *BeginFunc = (char*) &table->Begin; @@ -829,4 +830,7 @@ _glapi_check_table(const struct _glapi_table *table) assert(setFenceOffset == _gloffset_SetFenceNV); assert(setFenceOffset == offset); } +#else + (void) table; +#endif } -- cgit v1.2.3