X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=40b1aaa47945aec040da5b9141441baf02a2abac;hb=c20229ab1969aebbf9f34ad76a90662461c8b75d;hp=d1cb4d35d2ed875a29181b410d034b310fe81285;hpb=d0ab5a10ecda925e8fd5641aef3fdd9e035492f8;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index d1cb4d35..40b1aaa4 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -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)