1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00

Fixed flickering GUI elements in Sacred Gold

E.g. the introduction text of the Daemon character when starting a new campaign.
Issue happened only with ResolutionScale=app.
This commit is contained in:
narzoul 2024-05-03 16:30:59 +02:00
parent 7e64707fbe
commit d9403b4899

View File

@ -20,6 +20,7 @@ namespace Gdi
auto gdiResource = D3dDdi::Device::getGdiResource();
if (gdiResource)
{
gdiResource->getDevice().flushPrimitives();
D3dDdi::SurfaceRepository::enableSurfaceCheck(false);
if (isReadOnly)
{