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>
This commit is contained in:
parent
e3afbe3ad7
commit
4c35e32594
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue