]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Moved an extern to the proper header.
authorknghtbrd <knghtbrd@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Jan 2004 04:39:47 +0000 (04:39 +0000)
committerknghtbrd <knghtbrd@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Jan 2004 04:39:47 +0000 (04:39 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3774 d7cf8633-e32d-0410-b094-e92efae38249

vid.h
vid_shared.c

diff --git a/vid.h b/vid.h
index a8086e6a000ff04dd68cb46ee17dfaf0399cd06f..3c845043275a4549d0bfc5356b5570530f3f82ef 100644 (file)
--- a/vid.h
+++ b/vid.h
@@ -118,6 +118,10 @@ int VID_SetMode (int modenum);
 // sets the mode; only used by the Quake engine for resetting to mode 0 (the
 // base mode) on memory allocation failures
 
 // sets the mode; only used by the Quake engine for resetting to mode 0 (the
 // base mode) on memory allocation failures
 
+int VID_InitMode(int fullscreen, int width, int height, int bpp);
+// allocates and opens an appropriate OpenGL context (and its window)
+
+
 // sets hardware gamma correction, returns false if the device does not
 // support gamma control
 int VID_SetGamma (unsigned short *ramps);
 // sets hardware gamma correction, returns false if the device does not
 // support gamma control
 int VID_SetGamma (unsigned short *ramps);
index de2f788dcd9ffaad5e095a4cd4df0c4e80bd7c53..a6bc8a9f6c8e4ee6a1e538d74de42bb6a209903b 100644 (file)
@@ -765,7 +765,6 @@ int current_vid_fullscreen;
 int current_vid_width;
 int current_vid_height;
 int current_vid_bitsperpixel;
 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);
 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);