diff options
Diffstat (limited to 'src/viewport.h')
-rw-r--r-- | src/viewport.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/viewport.h b/src/viewport.h index 372a285..f21c583 100644 --- a/src/viewport.h +++ b/src/viewport.h @@ -4,13 +4,13 @@ #include <SDL.h> struct viewport { - int x; - int y; - int w; - int h; + Sint16 x; + Sint16 y; + Uint16 w; + Uint16 h; SDL_Surface *screen; }; -struct viewport *init_viewport(int width, int height, int bpp); +struct viewport *init_viewport(Uint16 width, Uint16 height, int bpp); #endif |