projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c932e21
)
intel: added INLINE keyword to minify()
author
Brian Paul
<brianp@vmware.com>
Mon, 12 Oct 2009 23:41:14 +0000
(17:41 -0600)
committer
Brian 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
patch
|
blob
|
history
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
(file)
--- 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);
}