comparison test/testcursor.c @ 3111:14d32495a502

Default video mode has been changed from 320x200 to 640x480, since fullscreen 320x200 is often unavailable.
author Mike Gorchak <lestat@i.com.ua>
date Tue, 28 Apr 2009 04:41:25 +0000
parents 3bdb1408f734
children
comparison
equal deleted inserted replaced
3110:e6c21c14ce3a 3111:14d32495a502
154 if (SDL_Init(SDL_INIT_VIDEO) < 0) { 154 if (SDL_Init(SDL_INIT_VIDEO) < 0) {
155 fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError()); 155 fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError());
156 return (1); 156 return (1);
157 } 157 }
158 158
159 screen = SDL_SetVideoMode(320, 200, 8, SDL_ANYFORMAT); 159 screen = SDL_SetVideoMode(640, 480, 8, SDL_ANYFORMAT);
160 if (screen == NULL) { 160 if (screen == NULL) {
161 fprintf(stderr, "Couldn't initialize video mode: %s\n", 161 fprintf(stderr, "Couldn't initialize video mode: %s\n",
162 SDL_GetError()); 162 SDL_GetError());
163 return (1); 163 return (1);
164 } 164 }