intel: added INLINE keyword to minify()
authorBrian Paul <brianp@vmware.com>
Mon, 12 Oct 2009 23:41:14 +0000 (17:41 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 13 Oct 2009 00:12:00 +0000 (18:12 -0600)
This is mainly just to silence some warnings.

src/mesa/drivers/dri/intel/intel_tex_layout.h

index c9de9b56784163394e60d523eb5a68d1d5c5f1e0..a9ac9e7eb4894863dbb3e5490d38b7b8a473fb5d 100644 (file)
@@ -33,7 +33,7 @@
 #include "main/macros.h"
 
 
-static GLuint minify( GLuint d )
+static INLINE GLuint minify( GLuint d )
 {
    return MAX2(1, d>>1);
 }