Commit: 3748bbf2d9e4dfa611e6a94b5497a0a7a376211d
Author: Campbell Barton
Date:   Sun Oct 11 12:54:14 2015 +1100
Branches: master
https://developer.blender.org/rB3748bbf2d9e4dfa611e6a94b5497a0a7a376211d

Cleanup: warning with new glew

===================================================================

M       source/blender/gpu/intern/gpu_debug.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_debug.c 
b/source/blender/gpu/intern/gpu_debug.c
index fdec45f..1c194f5 100644
--- a/source/blender/gpu/intern/gpu_debug.c
+++ b/source/blender/gpu/intern/gpu_debug.c
@@ -166,7 +166,7 @@ const char* gpuErrorString(GLenum err)
 static void APIENTRY gpu_debug_proc(
         GLenum source, GLenum type, GLuint UNUSED(id),
         GLenum UNUSED(severity), GLsizei UNUSED(length),
-        const GLchar *message, GLvoid *UNUSED(userParm))
+        const GLchar *message, const GLvoid *UNUSED(userParm))
 {
        if (source == GL_DEBUG_SOURCE_API && type == GL_DEBUG_TYPE_ERROR) {
                fprintf(stderr, "GL: %s\n", message);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to