diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2444,6 +2444,12 @@ static void early_gtk_display_init(DisplayOptions *opts) gtk_gl_area_init(); } else #endif +#if defined(GDK_WINDOWING_WIN32) + if (GDK_IS_WIN32_DISPLAY(gdk_display_get_default())) { + gtk_use_gl_area = true; + gtk_gl_area_init(); + } else +#endif { #ifdef CONFIG_X11 DisplayGLMode mode = opts->has_gl ? opts->gl : DISPLAYGL_MODE_ON; |