gallium: Guard assertions by NDEBUG instead of DEBUG
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 7 Nov 2017 09:48:12 +0000 (10:48 +0100)
committerMichel Dänzer <michel@daenzer.net>
Tue, 7 Nov 2017 15:47:15 +0000 (16:47 +0100)
commitcd3b55ad07dbf1a7cfd3b30109d0562bea692576
treed409172dbf29bedf2ac6b0f37641fd5c805c3d2b
parent1e6f9ea21230229c0256d8189427411298132638
gallium: Guard assertions by NDEBUG instead of DEBUG

This matches the standard assert.h header.

Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_debug.h