From 3b067343f8b86fd6df84b1a37b7f392775434528 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 8 Feb 2016 20:37:55 +0100 Subject: [PATCH] fixed using SDL internal structure in platform independent code --- src/libgame/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1