Integrating github/staging through commit ab87ed9
This commit is contained in:
@@ -156,15 +156,12 @@ bool WriteTGA(const byte* data, int width, int height, const char* filename, int
|
||||
|
||||
int hxw = height * width;
|
||||
|
||||
int right = 0;
|
||||
|
||||
const DWORD* temp_dp = (const DWORD*)data; // data = input pointer
|
||||
|
||||
const DWORD* swap = 0;
|
||||
|
||||
UINT src_bytes_per_pixel = src_bits_per_pixel / 8;
|
||||
|
||||
UINT size_in_bytes = hxw * src_bytes_per_pixel;
|
||||
|
||||
if (src_bits_per_pixel == dest_bits_per_pixel)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user