summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-03-11 10:47:23 +0000
committerDave Airlie <[email protected]>2012-03-11 16:50:30 +0000
commit5ea18503e757ceeb9eba32a72fdf02b7bc710275 (patch)
tree834cd1d0c4d454b5b698d96b49c0d21fe98c20bf /src/mesa/main
parent10d3b6500bc36c163bb13783848b201793d268d3 (diff)
mapi/glapi: Fix glDebugMessageCallbackARB arg type to GLDEBUGPROCARB
Necessary to prevent type mismatches on MinGW. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/dispatch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/dispatch.h b/src/mesa/main/dispatch.h
index a8b349f8dad..6ae69f77056 100644
--- a/src/mesa/main/dispatch.h
+++ b/src/mesa/main/dispatch.h
@@ -9508,14 +9508,14 @@ static inline void SET_ShaderBinary(struct _glapi_table *disp, void (GLAPIENTRYP
SET_by_offset(disp, _gloffset_ShaderBinary, fn);
}
-typedef void (GLAPIENTRYP _glptr_DebugMessageCallbackARB)(GLvoid *, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_DebugMessageCallbackARB)(GLDEBUGPROCARB, GLvoid *);
#define CALL_DebugMessageCallbackARB(disp, parameters) \
(* GET_DebugMessageCallbackARB(disp)) parameters
static inline _glptr_DebugMessageCallbackARB GET_DebugMessageCallbackARB(struct _glapi_table *disp) {
return (_glptr_DebugMessageCallbackARB) (GET_by_offset(disp, _gloffset_DebugMessageCallbackARB));
}
-static inline void SET_DebugMessageCallbackARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLvoid *, GLvoid *)) {
+static inline void SET_DebugMessageCallbackARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLDEBUGPROCARB, GLvoid *)) {
SET_by_offset(disp, _gloffset_DebugMessageCallbackARB, fn);
}