fixed creating graphics without video device 4.1.2.0
authorHolger Schemel <info@artsoft.org>
Mon, 18 Feb 2019 19:47:41 +0000 (20:47 +0100)
committerHolger Schemel <info@artsoft.org>
Mon, 18 Feb 2019 19:47:41 +0000 (20:47 +0100)
src/files.c

index be481d0..7b3bd50 100644 (file)
@@ -11598,7 +11598,7 @@ void CreateCustomElementImages(char *directory)
   int yoffset_ge = (TILEY * NUM_CUSTOM_ELEMENTS / 16);
   int i;
 
-  SDLInitVideoDisplay();
+  InitVideoDefaults();
 
   ReCreateBitmap(&backbuffer, video.width, video.height);