projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcf3002
)
ui: shader.h protect against double inclusion
author
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 11 May 2015 10:25:23 +0000
(12:25 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 29 May 2015 09:11:38 +0000
(11:11 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
include/ui/shader.h
patch
|
blob
|
history
diff --git
a/include/ui/shader.h
b/include/ui/shader.h
index 992cde6a8056db65e954ad2bdd0ce3ddbda94fe9..8509596ac0ee919ac09586319c1795bdddabd4a1 100644
(file)
--- a/
include/ui/shader.h
+++ b/
include/ui/shader.h
@@
-1,3
+1,6
@@
+#ifndef QEMU_SHADER_H
+#define QEMU_SHADER_H
+
#include <epoxy/gl.h>
void qemu_gl_run_texture_blit(GLint texture_blit_prog);
@@
-6,3
+9,5
@@
GLuint qemu_gl_create_compile_shader(GLenum type, const GLchar *src);
GLuint qemu_gl_create_link_program(GLuint vert, GLuint frag);
GLuint qemu_gl_create_compile_link_program(const GLchar *vert_src,
const GLchar *frag_src);
+
+#endif /* QEMU_SHADER_H */