projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dedebdc
)
fixed setting flag for initialized video for headless mode
author
Holger Schemel
<info@artsoft.org>
Sun, 9 Apr 2017 21:48:14 +0000
(23:48 +0200)
committer
Holger Schemel
<info@artsoft.org>
Fri, 23 Mar 2018 22:21:12 +0000
(23:21 +0100)
src/libgame/system.c
patch
|
blob
|
history
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index ce418468d15f87741ba7a2945118d422065ee6d1..6c2e968417e2b82f7ba74544d3d6634d931417d2 100644
(file)
--- 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;
}