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>2008-11-08 12:57:33 +0000
committerStijn Buys <ingar@osirion.org>2008-11-08 12:57:33 +0000
commite3512a1b55e97b2eba62847e6e28065eec24c92f (patch)
tree621bbc9ac71a9197b71711ecf196566946acbdc6 /src/client
parent74c4a52525363312b20bf0eb2f998acfc8c6ec28 (diff)
use the correct parameter type for resize()
Diffstat (limited to 'src/client')
-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);