src/video/dummy/SDL_nullrender.c
branchSDL-1.3
changeset 1678 90bf530ced8e
parent 1677 5e4c5e095925
child 1682 7ae8018b2e5d
     1.1 --- a/src/video/dummy/SDL_nullrender.c	Tue Jun 13 04:37:45 2006 +0000
     1.2 +++ b/src/video/dummy/SDL_nullrender.c	Wed Jun 14 06:14:26 2006 +0000
     1.3 @@ -45,7 +45,8 @@
     1.4      SDL_DUMMY_CreateRenderer,
     1.5      {
     1.6       "minimal",
     1.7 -     (SDL_Renderer_Minimal | SDL_Renderer_PresentCopy),
     1.8 +     (SDL_Renderer_Minimal | SDL_Renderer_PresentDiscard |
     1.9 +      SDL_Renderer_PresentCopy),
    1.10       SDL_TextureBlendMode_None,
    1.11       SDL_TextureScaleMode_None,
    1.12       0,
    1.13 @@ -167,7 +168,7 @@
    1.14  
    1.15      if (SDL_getenv("SDL_VIDEO_DUMMY_SAVE_FRAMES")) {
    1.16          char file[128];
    1.17 -        SDL_snprintf(file, sizeof(file), "SDL_screen-%8.8d.bmp",
    1.18 +        SDL_snprintf(file, sizeof(file), "SDL_frame-%8.8d.bmp",
    1.19                       ++frame_number);
    1.20          SDL_SaveBMP(surface, file);
    1.21      }