Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/video.cc2
-rw-r--r--src/client/video.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/video.cc b/src/client/video.cc
index 0fd702f..6e80af6 100644
--- a/src/client/video.cc
+++ b/src/client/video.cc
@@ -169,7 +169,7 @@ bool init()
return true;
}
-void resize(float w, float h)
+void resize(int w, int h)
{
if (fullscreen)
return;
diff --git a/src/client/video.h b/src/client/video.h
index a28b17d..7a8d386 100644
--- a/src/client/video.h
+++ b/src/client/video.h
@@ -25,7 +25,7 @@ namespace video
void restart();
/// application window resize event in windowed mode
- void resize(float w, float h);
+ void resize(int w, int h);
/// draw the next client video frame
void frame(float elapsed);