From: knghtbrd Date: Thu, 1 Jan 2004 04:39:47 +0000 (+0000) Subject: Moved an extern to the proper header. X-Git-Tag: xonotic-v0.1.0preview~6172 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=22c208746a407737e19a6e615cadf7b6f1109eea;hp=f0759ed4221a432267e456d6862000cd55775504 Moved an extern to the proper header. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3774 d7cf8633-e32d-0410-b094-e92efae38249 --- 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);