Fixes and updates to graphics api

This commit is contained in:
Wojtek Figat
2026-02-20 23:49:49 +01:00
parent 08d9ae0ae6
commit 6fd58c418e
9 changed files with 67 additions and 29 deletions

View File

@@ -658,7 +658,7 @@ bool GPUDeviceDX11::Init()
}
UINT formatSupport = 0;
_device->CheckFormatSupport(dxgiFormat, &formatSupport);
FeaturesPerFormat[i] = FormatFeatures(format, static_cast<MSAALevel>(maxCount), (FormatSupport)formatSupport);
FeaturesPerFormat[i] = FormatFeatures((MSAALevel)maxCount, (FormatSupport)formatSupport);
}
// Driver extensions support