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
commit 8f51a9d2d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 237 additions and 158 deletions

View file

@ -119,7 +119,7 @@ void Metal::VideoBackend::Shutdown()
ObjectCache::Shutdown();
}
void Metal::VideoBackend::InitBackendInfo()
void Metal::VideoBackend::InitBackendInfo(const WindowSystemInfo& wsi)
{
@autoreleasepool
{

View file

@ -18,7 +18,7 @@ public:
std::string GetDisplayName() const override;
std::optional<std::string> GetWarningMessage() const override;
void InitBackendInfo() override;
void InitBackendInfo(const WindowSystemInfo& wsi) override;
void PrepareWindow(WindowSystemInfo& wsi) override;