aboutsummaryrefslogtreecommitdiff
path: root/include/ui/shader.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui/shader.h')
-rw-r--r--include/ui/shader.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/ui/shader.h b/include/ui/shader.h
index 1ff926c9e1..8509596ac0 100644
--- a/include/ui/shader.h
+++ b/include/ui/shader.h
@@ -1,7 +1,7 @@
-#ifdef CONFIG_OPENGL
-# include <GLES2/gl2.h>
-# include <GLES2/gl2ext.h>
-#endif
+#ifndef QEMU_SHADER_H
+#define QEMU_SHADER_H
+
+#include <epoxy/gl.h>
void qemu_gl_run_texture_blit(GLint texture_blit_prog);
@@ -9,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 */