Index: trunk/src/gfx/image.cc
===================================================================
--- trunk/src/gfx/image.cc	(revision 121)
+++ trunk/src/gfx/image.cc	(revision 128)
@@ -12,5 +12,5 @@
 	: m_size( size ), m_depth( depth ), m_data( nullptr )
 {
-	m_data = new uint8[ static_cast<uint16>( m_size.x * m_size.y ) * m_depth ];
+	m_data = new uint8[ static_cast<uint32>( m_size.x * m_size.y ) * m_depth ];
 }
 
