[Scummvm-cvs-logs] SF.net SVN: scummvm: [30781] scummvm/trunk/graphics/surface.h

robinwatts at users.sourceforge.net robinwatts at users.sourceforge.net
Sun Feb 3 22:13:57 CET 2008


Revision: 30781
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30781&view=rev
Author:   robinwatts
Date:     2008-02-03 13:13:56 -0800 (Sun, 03 Feb 2008)

Log Message:
-----------
Missed file from previous commits. Bah.

Modified Paths:
--------------
    scummvm/trunk/graphics/surface.h

Modified: scummvm/trunk/graphics/surface.h
===================================================================
--- scummvm/trunk/graphics/surface.h	2008-02-03 18:56:47 UTC (rev 30780)
+++ scummvm/trunk/graphics/surface.h	2008-02-03 21:13:56 UTC (rev 30781)
@@ -36,10 +36,14 @@
  * operations, font rendering, etc.
  */
 struct Surface {
-	void *pixels;
+    	/**
+    	 * ARM code relies on the layout of the first 3 of these fields. Do
+    	 * not change them.
+    	 */
 	uint16 w;
 	uint16 h;
 	uint16 pitch;
+	void *pixels;
 	uint8 bytesPerPixel;
 	Surface() : pixels(0), w(0), h(0), pitch(0), bytesPerPixel(0) {}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list