diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2015-05-11 12:25:23 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-05-29 11:11:38 +0200 |
commit | 896e1a050a0d333b1f0ec0768cc64e26c5d0d104 (patch) | |
tree | 2da40d287875d5d1e894c066febc36ad48b334d0 /include/ui | |
parent | dcf30025c3e3d43140a687240433de1920adf8b0 (diff) | |
download | qemu-896e1a050a0d333b1f0ec0768cc64e26c5d0d104.tar.gz qemu-896e1a050a0d333b1f0ec0768cc64e26c5d0d104.tar.bz2 qemu-896e1a050a0d333b1f0ec0768cc64e26c5d0d104.zip |
ui: shader.h protect against double inclusion
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/shader.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ui/shader.h b/include/ui/shader.h index 992cde6a80..8509596ac0 100644 --- 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 */ |