From 22c208746a407737e19a6e615cadf7b6f1109eea Mon Sep 17 00:00:00 2001 From: knghtbrd Date: Thu, 1 Jan 2004 04:39:47 +0000 Subject: [PATCH] Moved an extern to the proper header. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3774 d7cf8633-e32d-0410-b094-e92efae38249 --- vid.h | 4 ++++ vid_shared.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/vid.h b/vid.h index a8086e6a..3c845043 100644 --- 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 +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); diff --git a/vid_shared.c b/vid_shared.c index de2f788d..a6bc8a9f 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -765,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); -- 2.39.2