mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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:
parent
ce0274f730
commit
dcf30025c3
3 changed files with 4 additions and 8 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue