mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
draw: Add inline keyword to inline function.
Otherwise gcc will warn about unusued functions.
This commit is contained in:
parent
218da1ef34
commit
bb6ca7b3f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue