VideoBackends: Make it possible for PrepareWindow to change the surface

Again, needed for MoltenVK.
This commit is contained in:
Stenzek
2020-03-11 23:10:28 +10:00
parent 86db015c23
commit a545344268
4 changed files with 6 additions and 5 deletions

View File

@ -47,7 +47,7 @@ public:
// Prepares a native window for rendering. This is called on the main thread, or the
// thread which owns the window.
virtual void PrepareWindow(const WindowSystemInfo& wsi) {}
virtual void PrepareWindow(WindowSystemInfo& wsi) {}
static std::string BadShaderFilename(const char* shader_stage, int counter);