Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2015-01-06 21:12:09 +0000
committerStijn Buys <ingar@osirion.org>2015-01-06 21:12:09 +0000
commit22785c4e7eb0be49a795f4b2bcdf5cbda1626a5a (patch)
tree9c71eb705e6eda465e0fbae9784a6638cda8884e /src/client/video.h
parentbea1b04f96502741f1e3b0f0c4c7fe506306baa0 (diff)
Corrected a window resize issue.
Diffstat (limited to 'src/client/video.h')
-rw-r--r--src/client/video.h4
1 files changed, 3 insertions, 1 deletions
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);