summaryrefslogtreecommitdiff
path: root/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.h')
-rw-r--r--graphics.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics.h b/graphics.h
index 935dd43..7779b09 100644
--- a/graphics.h
+++ b/graphics.h
@@ -36,9 +36,9 @@ typedef unsigned int pixel;
#endif
#endif
-unsigned cmode = 3;
-SDL_Surface *sdl_scrn;
-int sdl_scale = 1;
+extern unsigned cmode;
+extern SDL_Surface *sdl_scrn;
+extern int sdl_scale;
pixel *rescale_img(pixel *src, int sw, int sh, int *qw, int *qh, int f);