Mesa (master): nvfx: fix inlinining in nv04_2d.c
Luca Barbieri
lb at kemper.freedesktop.org
Sat Sep 4 21:01:23 UTC 2010
Module: Mesa
Branch: master
Commit: 90d3291595f0ea197d850aeac42333e35654ab58
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=90d3291595f0ea197d850aeac42333e35654ab58
Author: Luca Barbieri <luca at 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
More information about the mesa-commit
mailing list