Revert "Gtk: OpenGL: Try to ensure window is mapped."

This reverts commit c4a269b32a.
This commit is contained in:
BearOso 2020-11-04 12:54:44 -06:00
parent b4de90a0f1
commit 2bab4c41b1

View File

@ -479,8 +479,6 @@ bool S9xOpenGLDisplayDriver::create_context()
#ifdef GDK_WINDOWING_X11
if (GDK_IS_X11_WINDOW(gdk_window))
{
gdk_window_ensure_native(gdk_window);
gdk_display_sync(gdk_display);
if (!glx.attach(gdk_x11_display_get_xdisplay(gdk_display), gdk_x11_window_get_xid(gdk_window)))
return false;
context = &glx;