mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
TGA Header Fix in Linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2296 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -21,9 +21,7 @@
|
|||||||
|
|
||||||
#include "ImageWrite.h"
|
#include "ImageWrite.h"
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
|
||||||
#pragma pack(push, 1)
|
#pragma pack(push, 1)
|
||||||
#endif
|
|
||||||
|
|
||||||
struct TGA_HEADER
|
struct TGA_HEADER
|
||||||
{
|
{
|
||||||
@ -45,9 +43,7 @@ struct TGA_HEADER
|
|||||||
// pixel data follows header
|
// pixel data follows header
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
#endif
|
|
||||||
|
|
||||||
bool SaveTGA(const char* filename, int width, int height, void* pdata)
|
bool SaveTGA(const char* filename, int width, int height, void* pdata)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user