diff src/video/fbcon-1.3/SDL_fbrender.c @ 3159:2632b7453516 gsoc2009_ps3

Added framebuffer mapping.
author Martin Lowinski <martin@goldtopf.org>
date Thu, 12 Nov 2009 21:44:14 +0000
parents 30f3b987fec3
children
line wrap: on
line diff
--- a/src/video/fbcon-1.3/SDL_fbrender.c	Sat Nov 07 11:35:19 2009 +0000
+++ b/src/video/fbcon-1.3/SDL_fbrender.c	Thu Nov 12 21:44:14 2009 +0000
@@ -232,14 +232,6 @@
     SDL_FB_RenderData *data =
         (SDL_FB_RenderData *) renderer->driverdata;
 
-    /* Send the data to the display */
-    if (SDL_getenv("SDL_VIDEO_FB_SAVE_FRAMES")) {
-        char file[128];
-        SDL_snprintf(file, sizeof(file), "SDL_window%d-%8.8d.bmp",
-                     renderer->window, ++frame_number);
-        SDL_SaveBMP(data->screens[data->current_screen], file);
-    }
-
     /* Update the flipping chain, if any */
     if (renderer->info.flags & SDL_RENDERER_PRESENTFLIP2) {
         data->current_screen = (data->current_screen + 1) % 2;