draw: Add inline keyword to inline function.

Otherwise gcc will warn about unusued functions.
This commit is contained in:
José Fonseca 2010-06-29 14:30:44 +01:00
parent 218da1ef34
commit bb6ca7b3f7

View file

@ -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;