summaryrefslogtreecommitdiff
path: root/plugins/peopsxgl/texture.c
diff options
context:
space:
mode:
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
//---------------------------------------------