From e3512a1b55e97b2eba62847e6e28065eec24c92f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 8 Nov 2008 12:57:33 +0000 Subject: use the correct parameter type for resize() --- src/client/video.cc | 2 +- src/client/video.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client') 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); -- cgit v1.2.3