summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-01-23 17:43:16 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2014-01-29 19:52:35 +0000
commit4c35e3259493690850d292f819457a9a2bbe0abd (patch)
tree030787c4dcfd0c51b699328f2bd0654d9d9cebb8
parente3afbe3ad76ee10905b70115fd0f20ef48a8cef2 (diff)
glsl: s/_NDEBUG/NDEBUG/
The former symbol is never defined within mesa. Based on the code it seems that the original intent was to use NDEBUG. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
-rw-r--r--src/glsl/ir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 19e8383b23..e266328b20 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -471,7 +471,7 @@ public:
void reinit_interface_type(const struct glsl_type *type)
{
if (this->max_ifc_array_access != NULL) {
-#ifndef _NDEBUG
+#ifndef NDEBUG
/* Redeclaring gl_PerVertex is only allowed if none of the built-ins
* it defines have been accessed yet; so it's safe to throw away the
* old max_ifc_array_access pointer, since all of its values are