Use constants

This commit is contained in:
simon.kagstrom 2009-01-04 12:19:45 +00:00
parent 8f21e2901f
commit ba54d70cdb

View File

@ -83,7 +83,7 @@ int init_graphics(void)
screen = SDL_CreateRGBSurface(SDL_SWSURFACE, DISPLAY_X, DISPLAY_Y + 17, 8,
rmask, gmask, bmask, amask);
real_screen = SDL_SetVideoMode(640, 480, 8,
real_screen = SDL_SetVideoMode(FULL_DISPLAY_X, FULL_DISPLAY_Y, 8,
SDL_DOUBLEBUF | SDL_FULLSCREEN);
return 1;