[Bf-blender-cvs] [75cfc81] master: Fix compile error in gpu_debug (incompatible-pointer-type).
Kévin Dietrich
noreply at git.blender.org
Sun Jan 17 02:05:16 CET 2016
Commit: 75cfc81ec39ac9953f25eb0ae5f9e70d3c24ee7e
Author: Kévin Dietrich
Date: Sun Jan 17 01:58:06 2016 +0100
Branches: master
https://developer.blender.org/rB75cfc81ec39ac9953f25eb0ae5f9e70d3c24ee7e
Fix compile error in gpu_debug (incompatible-pointer-type).
===================================================================
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 da20826..c98b304 100644
--- a/source/blender/gpu/intern/gpu_debug.c
+++ b/source/blender/gpu/intern/gpu_debug.c
@@ -162,7 +162,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, const GLvoid *UNUSED(userParm))
+ const GLchar *message, GLvoid *UNUSED(userParm))
{
if (source == GL_DEBUG_SOURCE_API && type == GL_DEBUG_TYPE_ERROR) {
fprintf(stderr, "GL: %s\n", message);
More information about the Bf-blender-cvs
mailing list