From 22785c4e7eb0be49a795f4b2bcdf5cbda1626a5a Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 6 Jan 2015 21:12:09 +0000 Subject: Corrected a window resize issue. --- src/client/video.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/client/video.h') diff --git a/src/client/video.h b/src/client/video.h index 195fd2d..4d408ba 100644 --- a/src/client/video.h +++ b/src/client/video.h @@ -9,6 +9,8 @@ #include "core/cvar.h" +#include "SDL2/SDL.h" + namespace client { @@ -28,7 +30,7 @@ void shutdown(); void restart(); /// application window resize event in windowed mode -void resize(int w, int h); +void resize(const Uint32 sdlwindow_id, int w, int h); /// draw the next client video frame void frame(float elapsed); -- cgit v1.2.3