|
|
@ -8,7 +8,7 @@ int main(int argc, char *argv[]) {
|
|
|
|
printf("Error: Could not initialize SDL: %s.\n", SDL_GetError());
|
|
|
|
printf("Error: Could not initialize SDL: %s.\n", SDL_GetError());
|
|
|
|
exit(1);
|
|
|
|
exit(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
screen = SDL_SetVideoMode(640, 480, 32, SDL_SWSURFACE);
|
|
|
|
screen = SDL_SetVideoMode(1280, 800, 32, SDL_SWSURFACE);
|
|
|
|
|
|
|
|
|
|
|
|
if (SDL_MUSTLOCK(screen)) {
|
|
|
|
if (SDL_MUSTLOCK(screen)) {
|
|
|
|
SDL_LockSurface(screen);
|
|
|
|
SDL_LockSurface(screen);
|
|
|
|