aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-07-16 13:16:51 +0200
committermarha <marha@users.sourceforge.net>2013-07-16 13:16:51 +0200
commit8a339365f243adb27ac9d417796a4338b1f8ddf6 (patch)
tree9ca08c878d1bdb2745dc801e66593b208076a0a1 /xorg-server
parentd00d82f6017166fdeb927320ce4c656cb99319fd (diff)
downloadvcxsrv-8a339365f243adb27ac9d417796a4338b1f8ddf6.tar.gz
vcxsrv-8a339365f243adb27ac9d417796a4338b1f8ddf6.tar.bz2
vcxsrv-8a339365f243adb27ac9d417796a4338b1f8ddf6.zip
Synchronised files
Diffstat (limited to 'xorg-server')
-rw-r--r--xorg-server/glx/dispatch.h4
-rw-r--r--xorg-server/glx/glapitable.h2
2 files changed, 3 insertions, 3 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);
}
diff --git a/xorg-server/glx/glapitable.h b/xorg-server/glx/glapitable.h
index 4e55504b1..38913fd2b 100644
--- a/xorg-server/glx/glapitable.h
+++ b/xorg-server/glx/glapitable.h
@@ -831,7 +831,7 @@ struct _glapi_table
void (GLAPIENTRYP GetProgramBinary)(GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, GLvoid * binary); /* 787 */
void (GLAPIENTRYP ProgramBinary)(GLuint program, GLenum binaryFormat, const GLvoid * binary, GLsizei length); /* 788 */
void (GLAPIENTRYP ProgramParameteri)(GLuint program, GLenum pname, GLint value); /* 789 */
- void (GLAPIENTRYP DebugMessageCallbackARB)(GLDEBUGPROCARB callback, GLvoid * userParam); /* 790 */
+ void (GLAPIENTRYP DebugMessageCallbackARB)(GLDEBUGPROCARB callback, const GLvoid * userParam); /* 790 */
void (GLAPIENTRYP DebugMessageControlARB)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); /* 791 */
void (GLAPIENTRYP DebugMessageInsertARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLcharARB * buf); /* 792 */
GLuint (GLAPIENTRYP GetDebugMessageLogARB)(GLuint count, GLsizei bufsize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLcharARB * messageLog); /* 793 */