D3D: Set optional features after creating the device

Fixes feature level 10.0 devices crashing during runtime.
This commit is contained in:
Stenzek
2019-04-28 15:26:46 +10:00
parent 51154d6907
commit 025767c929
3 changed files with 32 additions and 34 deletions

View File

@ -40,6 +40,9 @@ void Destroy();
// Returns a list of supported AA modes for the current device.
std::vector<u32> GetAAModes(u32 adapter_index);
// Checks for support of the given texture format.
bool SupportsTextureFormat(DXGI_FORMAT format);
} // namespace D3D
} // namespace DX11