[Scummvm-cvs-logs] CVS: scummvm/saga gfx.h,1.32,1.33

Max Horn fingolfin at users.sourceforge.net
Sun Jul 10 07:40:54 CEST 2005


Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11706

Modified Files:
	gfx.h 
Log Message:
No reason to pack ClipData; since it's not a POD-type, that wouldn't be valid anyway. Likewise for Surface.

Index: gfx.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/gfx.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- gfx.h	9 Jul 2005 23:07:46 -0000	1.32
+++ gfx.h	10 Jul 2005 14:39:04 -0000	1.33
@@ -32,7 +32,6 @@
 
 using Common::Point;
 using Common::Rect;
-#pragma START_PACK_STRUCTS
 
 struct ClipData {
 	// input members
@@ -71,20 +70,22 @@
 
 		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 @@
 		}		
 	}
 };
-#pragma END_PACK_STRUCTS
 
 #define PAL_ENTRIES 256
 





More information about the Scummvm-git-logs mailing list