Gtk/OpenGL: Fix context resize broken in is_x11/is_wayland change.

This commit is contained in:
BearOso 2024-10-20 19:30:15 -05:00
parent c6e0fbf866
commit 932b093d98
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ void S9xOpenGLDisplayDriver::resize()
}
#endif
#ifdef GDK_WINDOWING_X11
if (is_wayland())
if (is_x11())
{
context->resize();
}