mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Fix SCREEN_WIDTH and SCREEN_HEIGHT type
This commit is contained in:
+2
-2
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user