diff options
Diffstat (limited to 'xorg-server/glx/dispatch.h')
-rw-r--r-- | xorg-server/glx/dispatch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/glx/dispatch.h b/xorg-server/glx/dispatch.h index d9c3ae663..06987ef5c 100644 --- a/xorg-server/glx/dispatch.h +++ b/xorg-server/glx/dispatch.h @@ -10420,14 +10420,14 @@ static INLINE void SET_ProgramParameteri(struct _glapi_table *disp, void (GLAPIE SET_by_offset(disp, _gloffset_ProgramParameteri, fn);
}
-typedef void (GLAPIENTRYP _glptr_DebugMessageCallbackARB)(GLDEBUGPROCARB, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_DebugMessageCallbackARB)(GLDEBUGPROCARB, const 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)(GLDEBUGPROCARB, GLvoid *)) {
+static INLINE void SET_DebugMessageCallbackARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLDEBUGPROCARB, const GLvoid *)) {
SET_by_offset(disp, _gloffset_DebugMessageCallbackARB, fn);
}
|