]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
VID_Init now takes mode settings (fullscreen, width, height)
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 305fe588649def07d2453480e878a0f9fc21e316..cc7102a8014636ac8cf11e0c81f3f4516d2920f9 100644 (file)
--- a/host.c
+++ b/host.c
@@ -869,7 +869,7 @@ void Host_Init (void)
 #ifndef _WIN32 // on non win32, mouse comes before video for security reasons
                IN_Init ();
 #endif
-               VID_Init ();
+               VID_Init (vid_fullscreen.integer, vid_width.integer, vid_height.integer);
 
                Render_Init();
                S_Init ();