util: Add include guard in u_split_prim.h.
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
/* Originally written by Ben Skeggs for the nv50 driver*/
|
||||
|
||||
#ifndef U_SPLIT_PRIM_H
|
||||
#define U_SPLIT_PRIM_H
|
||||
|
||||
#include "pipe/p_defines.h"
|
||||
#include "pipe/p_compiler.h"
|
||||
|
||||
@@ -106,3 +110,5 @@ util_split_prim_next(struct util_split_prim *s, unsigned max_verts)
|
||||
s->p_start += (max_verts - repeat);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#endif /* U_SPLIT_PRIM_H */
|
||||
|
||||
Reference in New Issue
Block a user