Factorize software renderer backend switching warning to be fetched from a new GetWarningMessage in video backend - will be needed for DX11.1 feature set warnings

This commit is contained in:
Silent 2019-07-21 00:57:50 +02:00
commit 890f781cd0
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1
4 changed files with 14 additions and 4 deletions

View file

@ -16,6 +16,7 @@ class VideoSoftware : public VideoBackendBase
std::string GetName() const override;
std::string GetDisplayName() const override;
std::optional<std::string> GetWarningMessage() const override;
void InitBackendInfo() override;
};