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:
authorMike Erwin <significant.bit@gmail.com>2017-03-15 23:33:18 +0300
committerMike Erwin <significant.bit@gmail.com>2017-03-15 23:53:45 +0300
commitc5f97dfe598b85047c224b27de1ace95863ddfea (patch)
treee05ef37e43c87090dcbf5cae7f5789fd4b0c5ad5 /source/blender/gpu/gawain
parent0d0d68d39dad8e14b80489bc28d591fc6eff5f21 (diff)
Gawain: bypass strict error checking for release builds
Now that we're almost done with T49043, let's run immediate mode at full speed. Debug builds will still do strict checks. Developers should still test their changes before committing! Recommended: $ make debug (or make lite debug) $ blender --debug-gpu
Diffstat (limited to 'source/blender/gpu/gawain')
-rw-r--r--source/blender/gpu/gawain/common.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/gpu/gawain/common.h b/source/blender/gpu/gawain/common.h
index 9c16101a0be..a4c1e6cba6e 100644
--- a/source/blender/gpu/gawain/common.h
+++ b/source/blender/gpu/gawain/common.h
@@ -11,9 +11,8 @@
#pragma once
-// #define TRUST_NO_ONE !defined(NDEBUG)
-#define TRUST_NO_ONE 1
-// strict error checking, always enabled during early development
+#define TRUST_NO_ONE !defined(NDEBUG)
+// strict error checking, enabled for debug builds during early development
#include <GL/glew.h>
#include <stdbool.h>