Merge pull request #11699 from Pokechu22/gl-check-maximum-samples

OpenGL: Check the list of supported AA modes instead of hardcoding
This commit is contained in:
Admiral H. Curtiss
2023-06-09 15:07:07 +02:00
committed by GitHub
32 changed files with 237 additions and 158 deletions

View File

@ -36,7 +36,7 @@ std::string VideoBackend::GetDisplayName() const
return "Direct3D 12";
}
void VideoBackend::InitBackendInfo()
void VideoBackend::InitBackendInfo(const WindowSystemInfo& wsi)
{
if (!D3DCommon::LoadLibraries())
return;

View File

@ -16,7 +16,7 @@ public:
std::string GetName() const override;
std::string GetDisplayName() const override;
void InitBackendInfo() override;
void InitBackendInfo(const WindowSystemInfo& wsi) override;
static constexpr const char* NAME = "D3D12";