summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-09-04 21:21:34 +0200
committerLuca Barbieri <[email protected]>2010-09-04 22:45:21 +0200
commit90d3291595f0ea197d850aeac42333e35654ab58 (patch)
treead927a8d56844fbace4705ae3c0f1316cde640af /src
parent11d29739e114350693eb8ee36d356cfdde432191 (diff)
nvfx: fix inlinining in nv04_2d.c
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nvfx/nv04_2d.c2
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 c05312219b6..ef07e542c21 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