draw: Add inline keyword to inline function.
Otherwise gcc will warn about unusued functions.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user