projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move function for getting program base directory to appropriate source file
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
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);
SDLInitVideoBuffer(fullscreen);
- video.initialized =
TRUE
;
+ video.initialized =
!program.headless
;
drawto = backbuffer;
}
drawto = backbuffer;
}