From 40ecfe03ec36da39efaa04080691269e625525ac Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 10 Jul 2005 14:39:04 +0000 Subject: No reason to pack ClipData; since it's not a POD-type, that wouldn't be valid anyway. Likewise for Surface. svn-id: r18530 --- saga/gfx.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'saga') 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 -- cgit v1.2.3