# HG changeset patch # User Michal Necasek # Date 1657209644 -7200 # Node ID 13322eadf475984d3dbbdfd5aa224a60990a26f7 # Parent 0c8e36318ee37a2bace15098645d4596a2612ac6 Do not set C1_SLOW_CARD and get visual effects back. diff -r 0c8e36318ee3 -r 13322eadf475 enable.c --- a/enable.c Mon Jun 20 20:20:05 2022 +0200 +++ b/enable.c Thu Jul 07 18:00:44 2022 +0200 @@ -316,7 +316,12 @@ lpInfo->dpLogPixelsY = wDpi; lpInfo->dpBitsPixel = wBpp; lpInfo->dpDCManage = DC_IgnoreDFNP; - lpInfo->dpCaps1 |= C1_BYTE_PACKED | C1_COLORCURSOR | C1_REINIT_ABLE | C1_SLOW_CARD; + /* In theory we should set the C1_SLOW_CARD flag since this driver is unaccelerated. + * This flag disables certain visual effects like "embossed" disabled text or animations. + * Realistically, software rendering in a VM on a modern system is going to be a lot + * faster than most mid-1990s graphics cards. + */ + lpInfo->dpCaps1 |= C1_BYTE_PACKED | C1_COLORCURSOR | C1_REINIT_ABLE /*| C1_SLOW_CARD*/; /* Grab the DIB Engine PDevice size before we add to it. */ wDIBPdevSize = lpInfo->dpDEVICEsize;