diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-03-15 23:33:18 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-03-15 23:53:45 +0300 |
commit | c5f97dfe598b85047c224b27de1ace95863ddfea (patch) | |
tree | e05ef37e43c87090dcbf5cae7f5789fd4b0c5ad5 /source/blender/gpu/gawain | |
parent | 0d0d68d39dad8e14b80489bc28d591fc6eff5f21 (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.h | 5 |
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> |