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

This commit is contained in:
Matteo Bruni 2011-03-07 22:39:34 +01:00 committed by Alexandre Julliard
parent 90608c8ce6
commit 1e0075cd61
1 changed files with 1 additions and 1 deletions

View File

@ -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;