[Bf-blender-cvs] [eb880f2] blender2.8: Gawain: strict error checking in debug builds

Mike Erwin noreply at git.blender.org
Sat Nov 12 07:04:21 CET 2016


Commit: eb880f280db93524e9f77d3a303daca9cf525217
Author: Mike Erwin
Date:   Fri Nov 11 23:53:58 2016 -0600
Branches: blender2.8
https://developer.blender.org/rBeb880f280db93524e9f77d3a303daca9cf525217

Gawain: strict error checking in debug builds

Not release builds. Fix 66d7f01eccdd9f82a4929f2873639e4012362090 to match what I meant to do.

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

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

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

diff --git a/source/blender/gpu/gawain/common.h b/source/blender/gpu/gawain/common.h
index 41ce8c2..ecfda71 100644
--- a/source/blender/gpu/gawain/common.h
+++ b/source/blender/gpu/gawain/common.h
@@ -11,7 +11,7 @@
 
 #pragma once
 
-#define TRUST_NO_ONE defined(NDEBUG)
+#define TRUST_NO_ONE !defined(NDEBUG)
 
 #include <GL/glew.h>
 #include <stdbool.h>




More information about the Bf-blender-cvs mailing list