SDL: Support Vulkan

This commit is contained in:
Connor McLaughlin
2020-06-19 00:18:51 +10:00
parent 6aacf0019a
commit d168947ae4
11 changed files with 326 additions and 86 deletions

View File

@@ -58,12 +58,6 @@ protected:
private:
bool HasSystem() const { return static_cast<bool>(m_system); }
#ifdef WIN32
bool UseOpenGLRenderer() const { return m_settings.gpu_renderer == GPURenderer::HardwareOpenGL; }
#else
bool UseOpenGLRenderer() const { return true; }
#endif
static float GetDPIScaleFactor(SDL_Window* window);
bool CreateSDLWindow();