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:
XTra.KrazzY 2009-02-17 22:23:06 +00:00
parent 41ce35deb3
commit f33997e686
1 changed files with 0 additions and 4 deletions

View File

@ -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)
{ {