Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-01-17 05:19:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-01-17 05:25:47 +0300
commit9145c6976cc1e9347b6329809ca9f9f9e3f3d156 (patch)
treec82418dd8345909d4e726c9c9d94ed777ac4190d
parent8194f223d89866a669ad8936ef67e1e1ac45830f (diff)
Revert "Fix compile error in gpu_debug (incompatible-pointer-type)."
This reverts commit 75cfc81ec39ac9953f25eb0ae5f9e70d3c24ee7e.
-rw-r--r--source/blender/gpu/intern/gpu_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_debug.c b/source/blender/gpu/intern/gpu_debug.c
index c98b3048751..da2082677a3 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, 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);