aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/surface.h b/graphics/surface.h
index 43977d024d..ff1ddda695 100644
--- a/graphics/surface.h
+++ b/graphics/surface.h
@@ -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__