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
This commit is contained in:
Mike Erwin 2017-03-15 16:33:18 -04:00
parent 0d0d68d39d
commit c5f97dfe59
1 changed files with 2 additions and 3 deletions

View File

@ -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>