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 be481d0d5eac7ca1331a6bbe032aaffac79d2c0c..7b3bd50dd5152a33e0264c6604d6ff8bb545e91f 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);