diff options
author | Axel Davy <[email protected]> | 2018-12-20 22:46:48 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2019-01-26 19:53:19 +0100 |
commit | 6380fedb60a0e51574cfb9df32e283ec33d5e5fa (patch) | |
tree | cbc5675e5c339531b7b855e24f96a3f1c17f09de /src/gallium/state_trackers/nine/surface9.h | |
parent | d7433c22e6c9624ca5275a3cd35be79caed9fffc (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/surface9.h')
-rw-r--r-- | src/gallium/state_trackers/nine/surface9.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/surface9.h b/src/gallium/state_trackers/nine/surface9.h index 7badde4e172..8b8708e29e2 100644 --- a/src/gallium/state_trackers/nine/surface9.h +++ b/src/gallium/state_trackers/nine/surface9.h @@ -139,7 +139,7 @@ NineSurface9_IsOffscreenPlain (struct NineSurface9 *This ) return This->base.usage == 0 && !This->texture; } -#ifdef DEBUG +#if defined(DEBUG) || !defined(NDEBUG) void NineSurface9_Dump( struct NineSurface9 *This ); #else |