diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-06 10:09:46 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-12 09:00:34 +0100 |
commit | 11c82b584a4578f7c7e408448c9f61c729acabae (patch) | |
tree | be9aff7eda1c0d2a34c08983b6144142fd05902c /include/ui | |
parent | 2ca5c43091324a68772dc348cdf157c63888c168 (diff) |
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
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/gtk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ui/gtk.h b/include/ui/gtk.h index 849c896eef..f6dafc5961 100644 --- a/include/ui/gtk.h +++ b/include/ui/gtk.h @@ -90,6 +90,8 @@ typedef struct VirtualConsole { }; } VirtualConsole; +extern bool gtk_use_gl_area; + /* ui/gtk.c */ void gd_update_windowsize(VirtualConsole *vc); |