Mercurial > sdl-ios-xcode
comparison test/testvidinfo.c @ 2862:929e7dd10031
Added current_w and current_h to SDL_VideoInfo for SDL 1.2 compatibility
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 12 Dec 2008 06:46:20 +0000 |
parents | 01e29c3e9a29 |
children | 59ff7a2beb57 |
comparison
equal
deleted
inserted
replaced
2861:25745ac3d785 | 2862:929e7dd10031 |
---|---|
518 ("Alpha blits from software surfaces to hardware surfaces are accelerated\n"); | 518 ("Alpha blits from software surfaces to hardware surfaces are accelerated\n"); |
519 } | 519 } |
520 if (info->blit_fill) { | 520 if (info->blit_fill) { |
521 printf("Color fills on hardware surfaces are accelerated\n"); | 521 printf("Color fills on hardware surfaces are accelerated\n"); |
522 } | 522 } |
523 printf("Current resolution: %dx%d\n", info->current_w, info->current_h); | |
523 #if 0 | 524 #if 0 |
524 if (argv[1] && (strcmp(argv[1], "-benchmark") == 0)) { | 525 if (argv[1] && (strcmp(argv[1], "-benchmark") == 0)) { |
525 RunVideoTests(); | 526 RunVideoTests(); |
526 } | 527 } |
527 #endif | 528 #endif |