[Bf-blender-cvs] [811e90c957] blender2.8: OpenGL: enable use of AMD_debug_output
Mike Erwin
noreply at git.blender.org
Tue Feb 28 10:40:01 CET 2017
Commit: 811e90c95705fe3df24de640d0f170bf7866ccde
Author: Mike Erwin
Date: Tue Feb 28 04:05:53 2017 -0500
Branches: blender2.8
https://developer.blender.org/rB811e90c95705fe3df24de640d0f170bf7866ccde
OpenGL: enable use of AMD_debug_output
This extension is the best we have on some older supported GPU + OS combinations.
All the code was in place, just disabled.
===================================================================
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 a106981e33..4be85096a5 100644
--- a/source/blender/gpu/intern/gpu_debug.c
+++ b/source/blender/gpu/intern/gpu_debug.c
@@ -20,7 +20,7 @@
*
* The Original Code is: all of this file.
*
- * Contributor(s): Brecht Van Lommel, Jason Wilkins.
+ * Contributor(s): Brecht Van Lommel, Jason Wilkins, Mike Erwin.
*
* ***** END GPL LICENSE BLOCK *****
*/
@@ -43,9 +43,9 @@
#include <stdlib.h>
#include <string.h>
-/* control whether we use older AMD_debug_output extension, or just the newer extensions
- * TODO(merwin): determine whether all supported GPU + OS combos have newer extensions */
-#define LEGACY_DEBUG 0
+/* control whether we use older AMD_debug_output extension
+ * some supported GPU + OS combos do not have the newer extensions */
+#define LEGACY_DEBUG 1
/* Debug callbacks need the same calling convention as OpenGL functions. */
#if defined(_WIN32)
More information about the Bf-blender-cvs
mailing list