summaryrefslogtreecommitdiff
path: root/src/video/sdl_v.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/sdl_v.h')
-rw-r--r--src/video/sdl_v.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video/sdl_v.h b/src/video/sdl_v.h
index 896a6f5b8..a51062d85 100644
--- a/src/video/sdl_v.h
+++ b/src/video/sdl_v.h
@@ -41,6 +41,8 @@ protected:
void InputLoop() override;
bool LockVideoBuffer() override;
void UnlockVideoBuffer() override;
+ void Paint() override;
+ void PaintThread() override;
private:
std::unique_lock<std::recursive_mutex> draw_lock;
@@ -48,6 +50,8 @@ private:
int PollEvent();
bool CreateMainSurface(uint w, uint h);
void SetupKeyboard();
+
+ static void PaintThreadThunk(VideoDriver_SDL *drv);
};
/** Factory for the SDL video driver. */