aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/volume9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2018-12-20 22:46:48 +0100
committerAxel Davy <[email protected]>2019-01-26 19:53:19 +0100
commit6380fedb60a0e51574cfb9df32e283ec33d5e5fa (patch)
treecbc5675e5c339531b7b855e24f96a3f1c17f09de /src/gallium/state_trackers/nine/volume9.c
parentd7433c22e6c9624ca5275a3cd35be79caed9fffc (diff)
st/nine: Enable debug info if NDEBUG is not set
We want to have debug info as well if using meson's debugoptimized when ndebug is off. v2: use u_debug functions that do something even if DEBUG is not set. Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/volume9.c')
-rw-r--r--src/gallium/state_trackers/nine/volume9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/volume9.c b/src/gallium/state_trackers/nine/volume9.c
index 840f01dae10..d6d80611f3c 100644
--- a/src/gallium/state_trackers/nine/volume9.c
+++ b/src/gallium/state_trackers/nine/volume9.c
@@ -186,7 +186,7 @@ static inline void
NineVolume9_MarkContainerDirty( struct NineVolume9 *This )
{
struct NineBaseTexture9 *tex;
-#ifdef DEBUG
+#if defined(DEBUG) || !defined(NDEBUG)
/* This is always contained by a NineVolumeTexture9. */
GUID id = IID_IDirect3DVolumeTexture9;
REFIID ref = &id;