Minor code cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@607 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
de9cbc723d
commit
ec3169941f
2 changed files with 7 additions and 9 deletions
|
@ -126,6 +126,13 @@ qboolean gammaworks; //if the gl drivers can set proper gamma.
|
|||
|
||||
|
||||
gl_config_t gl_config;
|
||||
int gl_canstencil;
|
||||
|
||||
float gldepthmin, gldepthmax;
|
||||
const char *gl_vendor;
|
||||
const char *gl_renderer;
|
||||
const char *gl_version;
|
||||
const char *gl_extensions;
|
||||
|
||||
//int texture_mode = GL_NEAREST;
|
||||
//int texture_mode = GL_NEAREST_MIPMAP_NEAREST;
|
||||
|
|
|
@ -68,16 +68,9 @@ BOOL bSetupPixelFormat(HDC hDC);
|
|||
qboolean VID_SetWindowedMode (rendererstate_t *info); //-1 on bpp or hz for default.
|
||||
qboolean VID_SetFullDIBMode (rendererstate_t *info); //-1 on bpp or hz for default.
|
||||
|
||||
const char *gl_vendor;
|
||||
const char *gl_renderer;
|
||||
const char *gl_version;
|
||||
const char *gl_extensions;
|
||||
|
||||
qboolean DDActive;
|
||||
qboolean scr_skipupdate;
|
||||
|
||||
int gl_canstencil;
|
||||
|
||||
static DEVMODE gdevmode;
|
||||
static qboolean vid_initialized = false;
|
||||
static qboolean leavecurrentmode= true;
|
||||
|
@ -124,8 +117,6 @@ viddef_t vid; // global video state
|
|||
//unsigned short d_8to16bgrtable[256];
|
||||
//unsigned d_8to24bgrtable[256];
|
||||
|
||||
float gldepthmin, gldepthmax;
|
||||
|
||||
modestate_t modestate = MS_UNINIT;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue