Fix SCREEN_WIDTH and SCREEN_HEIGHT type

This commit is contained in:
Ryo Narita
2015-01-30 12:54:09 +09:00
parent 3e31248166
commit eeed8d8364
+2 -2
View File
@@ -1,8 +1,8 @@
use sdl2;
use sdl2_ttf;
static SCREEN_WIDTH : isize = 800;
static SCREEN_HEIGHT : isize = 600;
static SCREEN_WIDTH : i32 = 800;
static SCREEN_HEIGHT : i32 = 600;
// fail when error
macro_rules! trying(