From: Holger Schemel Date: Mon, 8 Feb 2016 19:37:55 +0000 (+0100) Subject: fixed using SDL internal structure in platform independent code X-Git-Tag: 4.0.0.0-rc1~83 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=3b067343f8b86fd6df84b1a37b7f392775434528 fixed using SDL internal structure in platform independent code --- 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)