Module: Mesa Branch: master Commit: b9c28979576a566055e44cb31f3e5c0cd82754e0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9c28979576a566055e44cb31f3e5c0cd82754e0
Author: Brian Paul <[email protected]> Date: Mon Oct 12 17:41:14 2009 -0600 intel: added INLINE keyword to minify() This is mainly just to silence some warnings. --- 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 c9de9b5..a9ac9e7 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); } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
