From: Holger Schemel Date: Sun, 9 Apr 2017 21:48:14 +0000 (+0200) Subject: fixed setting flag for initialized video for headless mode X-Git-Tag: 4.1.0.0~127 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=b99f492ccd77b0105e61b95780c44959f588da25;p=rocksndiamonds.git fixed setting flag for initialized video for headless mode --- diff --git a/src/libgame/system.c b/src/libgame/system.c index ce418468..6c2e9684 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -471,7 +471,7 @@ void InitVideoBuffer(int width, int height, int depth, boolean fullscreen) SDLInitVideoBuffer(fullscreen); - video.initialized = TRUE; + video.initialized = !program.headless; drawto = backbuffer; }