winex11.drv: Take care of the destroyed drawable in wglFlush/wglFinish too.
This commit is contained in:
parent
90608c8ce6
commit
1e0075cd61
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue