mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
ImageWriter: Don't use inplace alpha truncation.
This may lead to errors in the D3D backend, as we overwrite read-only memory.
This commit is contained in:
@ -8,5 +8,5 @@
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
bool SaveData(const std::string& filename, const std::string& data);
|
||||
bool TextureToPng(u8* data, int row_stride, const std::string& filename, int width, int height,
|
||||
bool saveAlpha = true);
|
||||
bool TextureToPng(const u8* data, int row_stride, const std::string& filename, int width,
|
||||
int height, bool saveAlpha = true);
|
||||
|
Reference in New Issue
Block a user