diff options
author | matthijs <matthijs@openttd.org> | 2013-02-14 11:06:06 +0000 |
---|---|---|
committer | matthijs <matthijs@openttd.org> | 2013-02-14 11:06:06 +0000 |
commit | afcb4a25b22abb229dd302339fbf7b603c0e1deb (patch) | |
tree | 91802f4cf479328726e96f4ab0e05ce4e1035e96 /src/video/sdl_v.h | |
parent | 97decad0616ad7f0c3eed902d0cb338fbd6a81c0 (diff) | |
download | openttd-afcb4a25b22abb229dd302339fbf7b603c0e1deb.tar.xz |
(svn r24992) -Codechange: [SDL] Make CreateMainSurface and PollEvent private methods instead of static functions.
Diffstat (limited to 'src/video/sdl_v.h')
-rw-r--r-- | src/video/sdl_v.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video/sdl_v.h b/src/video/sdl_v.h index e4df2a30a..6c69d68d8 100644 --- a/src/video/sdl_v.h +++ b/src/video/sdl_v.h @@ -34,6 +34,9 @@ public: /* virtual */ bool ClaimMousePointer(); /* virtual */ const char *GetName() const { return "sdl"; } +private: + int PollEvent(); + bool CreateMainSurface(uint w, uint h); }; /** Factory for the SDL video driver. */ |