From: Rémi Bernon rbernon@codeweavers.com
This is unlikely and not supposed to happen, only in allocation failure cases, and already warned about. --- dlls/winex11.drv/opengl.c | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index 7a2799f9bac..532e3b20c3e 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -1327,11 +1327,6 @@ void set_gl_drawable_parent( HWND hwnd, HWND parent ) mark_drawable_dirty( old, new ); release_gl_drawable( new ); } - else - { - destroy_gl_drawable( hwnd ); - win32u_set_window_pixel_format( hwnd, 0, FALSE ); - } release_gl_drawable( old ); }