projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
218da1e
)
draw: Add inline keyword to inline function.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 29 Jun 2010 13:30:44 +0000
(14:30 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 29 Jun 2010 13:30:44 +0000
(14:30 +0100)
Otherwise gcc will warn about unusued functions.
src/gallium/auxiliary/draw/draw_llvm.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_llvm.h
b/src/gallium/auxiliary/draw/draw_llvm.h
index c98d7fb393bc2c5cd2c7be02a30a7abe0798d417..1ef009b592c73041747bcd2e175dd7af89626bd9 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_llvm.h
+++ b/
src/gallium/auxiliary/draw/draw_llvm.h
@@
-193,7
+193,7
@@
struct draw_llvm {
LLVMTypeRef vb_ptr_type;
};
-static struct llvm_vertex_shader *
+static
INLINE
struct llvm_vertex_shader *
llvm_vertex_shader(struct draw_vertex_shader *vs)
{
return (struct llvm_vertex_shader *)vs;