Module: Mesa Branch: master Commit: 90d3291595f0ea197d850aeac42333e35654ab58 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=90d3291595f0ea197d850aeac42333e35654ab58
Author: Luca Barbieri <l...@luca-barbieri.com> Date: Sat Sep 4 21:21:34 2010 +0200 nvfx: fix inlinining in nv04_2d.c --- src/gallium/drivers/nvfx/nv04_2d.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/nvfx/nv04_2d.c b/src/gallium/drivers/nvfx/nv04_2d.c index c053122..ef07e54 100644 --- a/src/gallium/drivers/nvfx/nv04_2d.c +++ b/src/gallium/drivers/nvfx/nv04_2d.c @@ -107,7 +107,7 @@ static inline unsigned log2i(unsigned i) //#define NV04_REGION_DEBUG // Yes, we really want to inline everything, since all the functions are used only once -#if defined(__GNUC__) && defined(DEBUG) +#if defined(__GNUC__) && !defined(DEBUG) #define inline __attribute__((always_inline)) inline #endif _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit