From 3d7329950eec5b2784fa6ba5d795849104f37ed5 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Sat, 27 Jun 2015 17:20:30 +0200 Subject: OpenGL debug contexts: Enable debug output in debug contexts for gl 4.3+ --- source/blender/gpu/intern/gpu_debug.c | 1 + 1 file changed, 1 insertion(+) (limited to '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 9f73b77ef5a..21d7eb4370b 100644 --- a/source/blender/gpu/intern/gpu_debug.c +++ b/source/blender/gpu/intern/gpu_debug.c @@ -191,6 +191,7 @@ void gpu_debug_init(void) #if !defined(WITH_GLEW_ES) && !defined(GLEW_ES_ONLY) if (GLEW_VERSION_4_3) { + glEnable(GL_DEBUG_OUTPUT); glDebugMessageCallback(gpu_debug_proc, mxGetCurrentContext()); glDebugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE); GPU_STRING_MARKER(sizeof(success), success); -- cgit v1.2.3