mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
ui/gtk: make GtkGlArea usage a runtime option
Compile in both gtk-egl and gtk-gl-area, then allow to choose at runtime instead of compile time which opengl variant we want use. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180306090951.22932-2-kraxel@redhat.com
This commit is contained in:
parent
2ca5c43091
commit
11c82b584a
3 changed files with 32 additions and 26 deletions
|
@ -90,6 +90,8 @@ typedef struct VirtualConsole {
|
|||
};
|
||||
} VirtualConsole;
|
||||
|
||||
extern bool gtk_use_gl_area;
|
||||
|
||||
/* ui/gtk.c */
|
||||
void gd_update_windowsize(VirtualConsole *vc);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue