~brandontschaefer/+junk/sdl-temp-1.2

« back to all changes in this revision

Viewing changes to test/testsprite.c

  • Committer: Brandon Schaefer
  • Date: 2014-10-07 20:51:38 UTC
  • Revision ID: brandon.schaefer@canonical.com-20141007205138-shj3mu3r4u9my0kt
* Temp branchwq

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
        numsprites = NUM_SPRITES;
170
170
        videoflags = SDL_SWSURFACE|SDL_ANYFORMAT;
171
171
  printf("VIDEO FLAGS? %i %i %i\n", videoflags, SDL_SWSURFACE, SDL_ANYFORMAT);
172
 
        width = 640;
173
 
        height = 480;
 
172
        width = 540;
 
173
        height = 960 - 39;
174
174
        video_bpp = 8;
175
175
        debug_flip = 0;
176
176
        while ( argc > 1 ) {
224
224
        }
225
225
 
226
226
        /* Load the sprite */
227
 
        if ( LoadSprite("icon.bmp") < 0 ) {
 
227
        if ( LoadSprite("/home/phablet/sdl1.2-mir/test/icon.bmp") < 0 ) {
228
228
                quit(1);
229
229
        }
230
230