mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
When changing from DIB_Status_GdiMod to DIB_Status_GdiMod, we have to
set the previous status to DIB_Status_GdiMod, otherwise a non-committing unlock could incorrectly revert the DIB to another state, rather than the correct DIB_Status_GdiMod.
This commit is contained in:
parent
7c1ad31f47
commit
83f7b39dab
1 changed files with 1 additions and 0 deletions
|
@ -4289,6 +4289,7 @@ INT X11DRV_DIB_Coerce(BITMAPOBJ *bmp, INT req, BOOL lossy)
|
|||
|
||||
case DIB_Status_GdiMod:
|
||||
TRACE("GdiMod requested in status GdiMod\n" );
|
||||
dib->p_status = DIB_Status_GdiMod;
|
||||
break;
|
||||
|
||||
case DIB_Status_InSync:
|
||||
|
|
Loading…
Reference in a new issue