sdlSaveBmp function

int sdlSaveBmp(
  1. Pointer<SdlSurface> surface,
  2. String file
)
const SDL_SaveBMP = (surface, file) \ SDL_SaveBMP_RW(surface, SDL_RWFromFile(file, 'wb'), 1);

Implementation

int sdlSaveBmp(Pointer<SdlSurface> surface, String file) {
  return sdlSaveBmpRw(surface, sdlRwFromFile(file, 'wb'), 1);
}