Alexandre Julliard : wineandroid: Remove no longer needed GetDeviceCaps() driver entry point.

Alexandre Julliard julliard at winehq.org
Wed Aug 22 16:12:30 CDT 2018


Module: wine
Branch: master
Commit: 3cfe3684aa40bc6e76f9560b512f0270267936e8
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3cfe3684aa40bc6e76f9560b512f0270267936e8

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Aug 22 13:09:34 2018 +0200

wineandroid: Remove no longer needed GetDeviceCaps() driver entry point.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wineandroid.drv/init.c | 17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/dlls/wineandroid.drv/init.c b/dlls/wineandroid.drv/init.c
index 2182137..c0e3823 100644
--- a/dlls/wineandroid.drv/init.c
+++ b/dlls/wineandroid.drv/init.c
@@ -189,21 +189,6 @@ static BOOL ANDROID_DeleteDC( PHYSDEV dev )
 
 
 /***********************************************************************
- *           ANDROID_GetDeviceCaps
- */
-static INT ANDROID_GetDeviceCaps( PHYSDEV dev, INT cap )
-{
-    switch(cap)
-    {
-    case BITSPIXEL:      return screen_bpp;
-    default:
-        dev = GET_NEXT_PHYSDEV( dev, pGetDeviceCaps );
-        return dev->funcs->pGetDeviceCaps( dev, cap );
-    }
-}
-
-
-/***********************************************************************
  *           ANDROID_ChangeDisplaySettingsEx
  */
 LONG CDECL ANDROID_ChangeDisplaySettingsEx( LPCWSTR devname, LPDEVMODEW devmode,
@@ -359,7 +344,7 @@ static const struct gdi_dc_funcs android_drv_funcs =
     NULL,                               /* pGetCharABCWidths */
     NULL,                               /* pGetCharABCWidthsI */
     NULL,                               /* pGetCharWidth */
-    ANDROID_GetDeviceCaps,              /* pGetDeviceCaps */
+    NULL,                               /* pGetDeviceCaps */
     NULL,                               /* pGetDeviceGammaRamp */
     NULL,                               /* pGetFontData */
     NULL,                               /* pGetFontRealizationInfo */




More information about the wine-cvs mailing list