diff options
author | Emil Velikov <[email protected]> | 2015-11-25 20:43:03 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-03-09 17:21:39 +0000 |
commit | 373f118c6c750d717fd0727fc3fc191828714c6f (patch) | |
tree | 09eebda7e8291ed3cd01960aaa84728a9c36a114 /src/gallium/auxiliary/util/u_draw_quad.h | |
parent | 69d389c52f91e4d36e740f804a36b50af657a786 (diff) |
gallium: do not wrap header inclusion in
Add one missing extern C guard within include/pipe/p_video_enums.h, and
remove the wrapping throughout gallium.
On Haiku one could even use the gallium debug_printf() although
that's another topic.
v2: Leave dbghelp.h as is (Jose)
Cc: Jose Fonseca <[email protected]>
Cc: Brian Paul <[email protected]>
Cc: Alexander von Gluck IV <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_draw_quad.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_draw_quad.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_draw_quad.h b/src/gallium/auxiliary/util/u_draw_quad.h index b298ef2ae59..6553d5d7b6b 100644 --- a/src/gallium/auxiliary/util/u_draw_quad.h +++ b/src/gallium/auxiliary/util/u_draw_quad.h @@ -32,6 +32,7 @@ #include "pipe/p_compiler.h" #include "pipe/p_context.h" +#include "util/u_draw.h" #ifdef __cplusplus extern "C" { @@ -40,8 +41,6 @@ extern "C" { struct pipe_resource; struct cso_context; -#include "util/u_draw.h" - extern void util_draw_vertex_buffer(struct pipe_context *pipe, struct cso_context *cso, struct pipe_resource *vbuf, uint vbuf_slot, |