projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc3e322
)
util: Add include guard in u_split_prim.h.
author
Vinson Lee
<vlee@vmware.com>
Thu, 26 Aug 2010 05:55:15 +0000
(22:55 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 26 Aug 2010 05:55:15 +0000
(22:55 -0700)
src/gallium/auxiliary/util/u_split_prim.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_split_prim.h
b/src/gallium/auxiliary/util/u_split_prim.h
index 8af8a7e71d87eabbbd1c70695089b75d87472acd..7f80fc127009067a8ea05d9a50451b69bbf0f52e 100644
(file)
--- a/
src/gallium/auxiliary/util/u_split_prim.h
+++ b/
src/gallium/auxiliary/util/u_split_prim.h
@@
-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 */