Reordered initialization list for Graphics::Surface to kill tons of warnings gcc started spewing out after robiwatts changed the order of data members for benefit of ARM.

svn-id: r30842
This commit is contained in:
Nicola Mettifogo 2008-02-09 23:31:04 +00:00
parent 435c437f6d
commit bd4a2f721e

View file

@ -45,7 +45,7 @@ struct Surface {
uint16 pitch;
void *pixels;
uint8 bytesPerPixel;
Surface() : pixels(0), w(0), h(0), pitch(0), bytesPerPixel(0) {}
Surface() : w(0), h(0), pitch(0), pixels(0), bytesPerPixel(0) {}
inline const void *getBasePtr(int x, int y) const {
// SumthinWicked says: I was getting a typecast error here from GCC/UIQ: might need an #ifdef __SYMBIAN32__