X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ffiles.c;h=6882aaa584737ed2404631c52d2828526d0e05ca;hb=73d5033080f93ad34a3e5aee7e8abd7aba8e17a9;hp=c0f256c73c27016f42c2af688f47f97cc0769111;hpb=cb586ba720ddae3c6d05ba1723b5bd4d58bc98bd;p=rocksndiamonds.git 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,