]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_shared.c
Moved an extern to the proper header.
[xonotic/darkplaces.git] / vid_shared.c
index b60a16f452b153c656354de280c86bccd3cc27dd..a6bc8a9f6c8e4ee6a1e538d74de42bb6a209903b 100644 (file)
@@ -1,6 +1,9 @@
 
 #include "quakedef.h"
 
+// Tell startup code that we have a client
+int cl_available = true;
+
 // global video state
 viddef_t vid;
 
@@ -762,7 +765,6 @@ int current_vid_fullscreen;
 int current_vid_width;
 int current_vid_height;
 int current_vid_bitsperpixel;
-extern int VID_InitMode (int fullscreen, int width, int height, int bpp);
 int VID_Mode(int fullscreen, int width, int height, int bpp)
 {
        Con_Printf("Video: %s %dx%dx%d\n", fullscreen ? "fullscreen" : "window", width, height, bpp);