mirror of https://github.com/snes9xgit/snes9x.git
Gtk: Confused is_wayland/is_x11.
This commit is contained in:
parent
5b1f20ec52
commit
71f2ba2d7e
|
@ -381,7 +381,7 @@ bool S9xOpenGLDisplayDriver::create_context()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef GDK_WINDOWING_X11
|
#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)))
|
if (!glx.attach(gdk_x11_display_get_xdisplay(gdk_display), gdk_x11_window_get_xid(gdk_window)))
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue