summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-12 17:41:14 -0600
committerBrian Paul <[email protected]>2009-10-12 18:12:00 -0600
commitb9c28979576a566055e44cb31f3e5c0cd82754e0 (patch)
treee11f2a182bde31372118ccf8f68b5f3538b38025 /src/mesa
parentc932e21fa848562325f666dce5db3b09bc61bffa (diff)
intel: added INLINE keyword to minify()
This is mainly just to silence some warnings.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_layout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_layout.h b/src/mesa/drivers/dri/intel/intel_tex_layout.h
index c9de9b56784..a9ac9e7eb48 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_layout.h
+++ b/src/mesa/drivers/dri/intel/intel_tex_layout.h
@@ -33,7 +33,7 @@
#include "main/macros.h"
-static GLuint minify( GLuint d )
+static INLINE GLuint minify( GLuint d )
{
return MAX2(1, d>>1);
}