Browse Source

emscripten: Drop commented out code from the dummy driver

Charlie Birks 5 years ago
parent
commit
b4f11a3669
1 changed files with 0 additions and 8 deletions
  1. 0 8
      src/video/emscripten/SDL_emscriptenframebuffer.c

+ 0 - 8
src/video/emscripten/SDL_emscriptenframebuffer.c

@@ -156,14 +156,6 @@ int Emscripten_UpdateWindowFramebuffer(_THIS, SDL_Window * window, const SDL_Rec
         return 0;
     }, surface->w, surface->h, surface->pixels);
 
-    /*if (SDL_getenv("SDL_VIDEO_Emscripten_SAVE_FRAMES")) {
-        static int frame_number = 0;
-        char file[128];
-        SDL_snprintf(file, sizeof(file), "SDL_window%d-%8.8d.bmp",
-                     SDL_GetWindowID(window), ++frame_number);
-        SDL_SaveBMP(surface, file);
-    }*/
-
     if (emscripten_has_asyncify() && SDL_GetHintBoolean(SDL_HINT_EMSCRIPTEN_ASYNCIFY, SDL_TRUE)) {
         /* give back control to browser for screen refresh */
         emscripten_sleep(0);