fixed using SDL internal structure in platform independent code
authorHolger Schemel <info@artsoft.org>
Mon, 8 Feb 2016 19:37:55 +0000 (20:37 +0100)
committerHolger Schemel <info@artsoft.org>
Mon, 8 Feb 2016 19:37:55 +0000 (20:37 +0100)
src/libgame/system.c

index d1cb4d35d2ed875a29181b410d034b310fe81285..40b1aaa47945aec040da5b9141441baf02a2abac 100644 (file)
@@ -407,7 +407,7 @@ void FreeBitmap(Bitmap *bitmap)
 
 Bitmap *CreateBitmapStruct(void)
 {
-  return checked_calloc(sizeof(struct SDLSurfaceInfo));
+  return checked_calloc(sizeof(Bitmap));
 }
 
 Bitmap *CreateBitmap(int width, int height, int depth)