[Bf-blender-cvs] [7aa82e7] blender2.8: Gawain: re-enable strict error checking in release builds

Mike Erwin noreply at git.blender.org
Wed Nov 16 18:15:30 CET 2016


Commit: 7aa82e7ed275a71bf7574672d0d2a88dd7e1bfb1
Author: Mike Erwin
Date:   Wed Nov 16 12:14:55 2016 -0500
Branches: blender2.8
https://developer.blender.org/rB7aa82e7ed275a71bf7574672d0d2a88dd7e1bfb1

Gawain: re-enable strict error checking in release builds

Makes it easier for new volunteers to catch errors early.

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

M	source/blender/gpu/gawain/common.h

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

diff --git a/source/blender/gpu/gawain/common.h b/source/blender/gpu/gawain/common.h
index ecfda71..ffd0f32 100644
--- a/source/blender/gpu/gawain/common.h
+++ b/source/blender/gpu/gawain/common.h
@@ -11,7 +11,9 @@
 
 #pragma once
 
-#define TRUST_NO_ONE !defined(NDEBUG)
+// #define TRUST_NO_ONE !defined(NDEBUG)
+#define TRUST_NO_ONE 1
+// strict error checking, always enabled during early development
 
 #include <GL/glew.h>
 #include <stdbool.h>




More information about the Bf-blender-cvs mailing list