aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
authorMax Horn2005-07-10 14:39:04 +0000
committerMax Horn2005-07-10 14:39:04 +0000
commit40ecfe03ec36da39efaa04080691269e625525ac (patch)
treef7c15b45d5d78f2bf8c253d9cc60ace4a7b0cc90 /saga
parentc598bb78bbf8f9b44fa5c4aa5142969d49129e1a (diff)
downloadscummvm-rg350-40ecfe03ec36da39efaa04080691269e625525ac.tar.gz
scummvm-rg350-40ecfe03ec36da39efaa04080691269e625525ac.tar.bz2
scummvm-rg350-40ecfe03ec36da39efaa04080691269e625525ac.zip
No reason to pack ClipData; since it's not a POD-type, that wouldn't be valid anyway. Likewise for Surface.
svn-id: r18530
Diffstat (limited to 'saga')
-rw-r--r--saga/gfx.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/saga/gfx.h b/saga/gfx.h
index 3be73e8471..af0493195c 100644
--- a/saga/gfx.h
+++ b/saga/gfx.h
@@ -32,7 +32,6 @@ namespace Saga {
using Common::Point;
using Common::Rect;
-#pragma START_PACK_STRUCTS
struct ClipData {
// input members
@@ -71,20 +70,22 @@ struct ClipData {
return true;
}
-}GCC_PACK;
+};
+#pragma START_PACK_STRUCTS
struct PalEntry {
byte red;
byte green;
byte blue;
-}GCC_PACK;
+} GCC_PACK;
struct Color {
int red;
int green;
int blue;
int alpha;
-}GCC_PACK;
+} GCC_PACK;
+#pragma END_PACK_STRUCTS
struct Surface : Graphics::Surface {
@@ -111,7 +112,6 @@ struct Surface : Graphics::Surface {
}
}
};
-#pragma END_PACK_STRUCTS
#define PAL_ENTRIES 256