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:
parent
41ce35deb3
commit
f33997e686
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue