libepoxy does the opengl extension handling for us. It also is helpful for trouble-shooting as it prints nice error messages instead of silently failing or segfaulting in case we do something wrong, like using gl commands not supported by the current context. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
9 lines
347 B
C
9 lines
347 B
C
#include <epoxy/gl.h>
|
|
|
|
void qemu_gl_run_texture_blit(GLint texture_blit_prog);
|
|
|
|
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);
|