From: Holger Schemel Date: Fri, 6 Jan 2017 17:29:13 +0000 (+0100) Subject: fixed creating custom element images (RocksCE.ilbm) for SDL2 X-Git-Tag: 4.0.0.1~6 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=239715fb53ffdaa061b546362224b43be45fce37;p=rocksndiamonds.git fixed creating custom element images (RocksCE.ilbm) for SDL2 --- diff --git a/src/files.c b/src/files.c index c0f256c7..6882aaa5 100644 --- a/src/files.c +++ b/src/files.c @@ -10209,6 +10209,8 @@ void CreateCustomElementImages(char *directory) SDLInitVideoDisplay(); + ReCreateBitmap(&backbuffer, video.width, video.height); + src_bitmap = LoadImage(src_filename); bitmap = CreateBitmap(TILEX * 16 * 2,