gdi32: Remove obviously incorrect calls to SetMapMode.
This commit is contained in:
parent
d7af14f1b5
commit
db6a9e6f75
@ -1158,10 +1158,8 @@ UINT WINAPI GetWinMetaFileBits(HENHMETAFILE hemf,
|
||||
HMETAFILE hmf;
|
||||
UINT ret;
|
||||
RECT rc;
|
||||
INT oldMapMode;
|
||||
|
||||
GetClipBox(hdcRef, &rc);
|
||||
oldMapMode = SetMapMode(hdcRef, fnMapMode);
|
||||
|
||||
TRACE("(%p,%d,%p,%d,%p) rc=%s\n", hemf, cbBuffer, lpbBuffer,
|
||||
fnMapMode, hdcRef, wine_dbgstr_rect(&rc));
|
||||
@ -1172,8 +1170,6 @@ UINT WINAPI GetWinMetaFileBits(HENHMETAFILE hemf,
|
||||
ret = GetMetaFileBitsEx(hmf, cbBuffer, lpbBuffer);
|
||||
DeleteMetaFile(hmf);
|
||||
|
||||
SetMapMode(hdcRef, oldMapMode);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user