mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[WIN32K]
- check for the type of the DC to restore to decide whether we should restore the surface Fixes yarotows specific FF3 bug svn path=/branches/reactos-yarotows/; revision=47731
This commit is contained in:
parent
a8ac489720
commit
4b10742ca5
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ DC_vRestoreDC(
|
|||
DC_vCopyState(pdcSave, pdc, FALSE);
|
||||
|
||||
/* Only memory DC's change their surface */
|
||||
if (pdcSave->dctype == DCTYPE_MEMORY)
|
||||
if (pdc->dctype == DCTYPE_MEMORY)
|
||||
DC_vSelectSurface(pdc, pdcSave->dclevel.pSurface);
|
||||
|
||||
// Restore Path by removing it, if the Save flag is set.
|
||||
|
|
Loading…
Reference in a new issue