ui: use libexpoxy

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>
This commit is contained in:
Gerd Hoffmann 2015-05-11 12:24:43 +02:00
parent ce0274f730
commit dcf30025c3
3 changed files with 4 additions and 8 deletions

View file

@ -1,7 +1,4 @@
#ifdef CONFIG_OPENGL
# include <GLES2/gl2.h>
# include <GLES2/gl2ext.h>
#endif
#include <epoxy/gl.h>
void qemu_gl_run_texture_blit(GLint texture_blit_prog);