Commit 1e0075cd authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

winex11.drv: Take care of the destroyed drawable in wglFlush/wglFinish too.

parent 90608c8c
......@@ -2271,7 +2271,7 @@ void flush_gl_drawable(X11DRV_PDEVICE *physDev)
{
int w, h;
if (!physDev->gl_copy)
if (!physDev->gl_copy || !physDev->current_pf)
return;
w = physDev->dc_rect.right - physDev->dc_rect.left;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment