SDL buildfix

This commit is contained in:
Henrik Rydgård 2023-08-14 01:31:08 +02:00
parent aadb700505
commit 50f4e4b1fd
2 changed files with 1 additions and 8 deletions

View file

@ -439,13 +439,6 @@ int SDLGLGraphicsContext::Init(SDL_Window *&window, int x, int y, int w, int h,
return 0;
}
void SDLGLGraphicsContext::SwapInterval(int interval) {
renderManager_->SwapInterval(interval);
}
void SDLGLGraphicsContext::Shutdown() {
}
void SDLGLGraphicsContext::ShutdownFromRenderThread() {
delete draw_;
draw_ = nullptr;

View file

@ -16,7 +16,7 @@ public:
// Returns 0 on success.
int Init(SDL_Window *&window, int x, int y, int w, int h, int mode, std::string *error_message);
void Shutdown() override;
void Shutdown() override {}
void ShutdownFromRenderThread() override;
void Resize() override {}