Jacek Caban : gdi32: Remove no longer needed metafile special case from NtGdiExtTextOutW.
Alexandre Julliard
julliard at winehq.org
Fri Sep 10 15:29:46 CDT 2021
Module: wine
Branch: master
Commit: 5e012f7bec0947a9e047d79d1b7bc7c42bdbab91
URL: https://source.winehq.org/git/wine.git/?a=commit;h=5e012f7bec0947a9e047d79d1b7bc7c42bdbab91
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Sep 10 14:28:44 2021 +0200
gdi32: Remove no longer needed metafile special case from NtGdiExtTextOutW.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/gdi32/font.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/dlls/gdi32/font.c b/dlls/gdi32/font.c
index 5758a999561..21cfe9ecb0b 100644
--- a/dlls/gdi32/font.c
+++ b/dlls/gdi32/font.c
@@ -5020,7 +5020,6 @@ BOOL WINAPI NtGdiExtTextOutW( HDC hdc, INT x, INT y, UINT flags, const RECT *lpr
SIZE sz;
RECT rc;
POINT *deltas = NULL, width = {0, 0};
- DWORD type;
DC * dc = get_dc_ptr( hdc );
PHYSDEV physdev;
INT breakRem;
@@ -5041,13 +5040,6 @@ BOOL WINAPI NtGdiExtTextOutW( HDC hdc, INT x, INT y, UINT flags, const RECT *lpr
update_dc( dc );
physdev = GET_DC_PHYSDEV( dc, pExtTextOut );
- type = GetObjectType(hdc);
- if(type == OBJ_METADC || type == OBJ_ENHMETADC)
- {
- ret = physdev->funcs->pExtTextOut( physdev, x, y, flags, lprect, str, count, lpDx );
- release_dc_ptr( dc );
- return ret;
- }
if (flags & ETO_RTLREADING) align |= TA_RTLREADING;
if (layout & LAYOUT_RTL)
More information about the wine-cvs
mailing list