[Mesa-dev] [PATCH 4/4] mapi/glapi: Fix glDebugMessageCallbackARB arg type to GLDEBUGPROCARB

2012-03-11 Thread jose . r . fonseca
From: José Fonseca Necessary to prevent type mismatches on MinGW. --- src/mapi/glapi/gen/ARB_debug_output.xml |2 +- src/mapi/glapi/gen/gl_API.xml |2 ++ src/mapi/glapi/glapi_mapi_tmp.h |6 +++--- src/mapi/glapi/glapitable.h |2 +- src/mapi/glapi/gla

[Mesa-dev] [PATCH 3/4] glapi/gen: Add support for pointer types.

2012-03-11 Thread jose . r . fonseca
From: José Fonseca --- src/mapi/glapi/gen/gl_API.dtd |1 + src/mapi/glapi/gen/gl_XML.py |1 + src/mapi/glapi/gen/typeexpr.py |6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mapi/glapi/gen/gl_API.dtd b/src/mapi/glapi/gen/gl_API.dtd index 30c646c..149a4

[Mesa-dev] [PATCH 2/4] mesa: Prevent collision of ERROR define on Windows.

2012-03-11 Thread jose . r . fonseca
From: José Fonseca This issue might recur on other OSes. If so then it might be better to remove the C-preprocessor magic, and use fully qualified defines instead. --- src/mesa/main/errors.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/errors.c b/src/m

[Mesa-dev] [PATCH 1/4] include: Fix glDebugMessageCallbackARB's prototype.

2012-03-11 Thread jose . r . fonseca
From: José Fonseca Seems to be a bug in Khronos headers, as http://www.opengl.org/registry/specs/ARB/debug_output.txt states userParam is not a const pointer. --- include/GL/glext.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/GL/glext.h b/include/GL/glext