summaryrefslogtreecommitdiff
path: root/plugins/peopsxgl/texture.c
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-08-18 01:34:01 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-08-18 01:34:01 +0000
commitc4f5208806fe4136b19cce9f63f03820fc49d0cf (patch)
treec1f42770d9fc0f88538993f0fb4cc78c364c056e /plugins/peopsxgl/texture.c
parentc4a77870fcb7793bd5a7611b9994a5b15a335a3c (diff)
downloadpcsxr-c4f5208806fe4136b19cce9f63f03820fc49d0cf.tar.gz
peopsxgl: Readded windows support.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56180 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/peopsxgl/texture.c')
-rw-r--r--plugins/peopsxgl/texture.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/peopsxgl/texture.c b/plugins/peopsxgl/texture.c
index 01630dad..c287768f 100644
--- a/plugins/peopsxgl/texture.c
+++ b/plugins/peopsxgl/texture.c
@@ -145,7 +145,11 @@ unsigned short (*PTCF[2]) (unsigned short);
////////////////////////////////////////////////////////////////////////
// texture cache implementation
-////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////
+
+#ifdef _WINDOWS
+#pragma pack(1)
+#endif
// "texture window" cache entry
@@ -171,6 +175,10 @@ typedef struct textureSubCacheEntryTagS
unsigned char cTexID;
unsigned char Opaque;
} textureSubCacheEntryS;
+
+#ifdef _WINDOWS
+#pragma pack()
+#endif
//---------------------------------------------