mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-25 04:01:03 +00:00
66d24776ec
Data is already converted to the correct format by copyBuffer, so write it directly to save file. This fixes save game screenshots taken with TinyGL renderer: Bitmap constructor calls graphic driver's createBitmap method, and TinyGL's converts the buffer to its own buffer pixel format - undoing the conversion storeSaveGameImage did just before.