Gtk: Confused is_wayland/is_x11.

This commit is contained in:
BearOso 2024-10-16 13:18:19 -05:00
parent 5b1f20ec52
commit 71f2ba2d7e
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ bool S9xOpenGLDisplayDriver::create_context()
}
#endif
#ifdef GDK_WINDOWING_X11
if (is_wayland())
if (is_x11())
{
if (!glx.attach(gdk_x11_display_get_xdisplay(gdk_display), gdk_x11_window_get_xid(gdk_window)))
return false;