diff options
author | Brian Paul <[email protected]> | 2009-10-12 17:41:14 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-12 18:12:00 -0600 |
commit | b9c28979576a566055e44cb31f3e5c0cd82754e0 (patch) | |
tree | e11f2a182bde31372118ccf8f68b5f3538b38025 /src/mesa | |
parent | c932e21fa848562325f666dce5db3b09bc61bffa (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.h | 2 |
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); } |