SDL buildfix

This commit is contained in:
Henrik Rydgård committed 2023-08-14 11:02:29 +02:00
1 parent aadb700505
commit 50f4e4b1fd
2 files changed
+1 -8

No files matched your search

-7
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;
+1 -1
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 {}