mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 00:24:12 +00:00
remove redundant vid_gamma_avail decls
This commit is contained in:
parent
bc8ae8fd37
commit
f83b9be0ba
5 changed files with 1 additions and 4 deletions
|
@ -77,6 +77,7 @@ extern unsigned int d_8to24table[256];
|
||||||
extern int scr_width, scr_height;
|
extern int scr_width, scr_height;
|
||||||
extern qboolean DDActive;
|
extern qboolean DDActive;
|
||||||
extern byte gammatable[256];
|
extern byte gammatable[256];
|
||||||
|
extern qboolean vid_gamma_avail;
|
||||||
|
|
||||||
// called at startup and after any gamma correction
|
// called at startup and after any gamma correction
|
||||||
void VID_SetPalette (unsigned char *palette);
|
void VID_SetPalette (unsigned char *palette);
|
||||||
|
|
|
@ -99,7 +99,6 @@ static qboolean vidmode_active = false;
|
||||||
|
|
||||||
cvar_t *vid_fullscreen;
|
cvar_t *vid_fullscreen;
|
||||||
cvar_t *vid_system_gamma;
|
cvar_t *vid_system_gamma;
|
||||||
qboolean vid_gamma_avail;
|
|
||||||
qboolean vid_fullscreen_active;
|
qboolean vid_fullscreen_active;
|
||||||
static qboolean vid_context_created = false;
|
static qboolean vid_context_created = false;
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,6 @@ HWND mainwindow;
|
||||||
|
|
||||||
cvar_t *vid_fullscreen;
|
cvar_t *vid_fullscreen;
|
||||||
cvar_t *vid_system_gamma;
|
cvar_t *vid_system_gamma;
|
||||||
qboolean vid_gamma_avail;
|
|
||||||
extern viddef_t vid; // global video state
|
extern viddef_t vid; // global video state
|
||||||
|
|
||||||
int modestate; // FIXME: just to avoid cross-comp.
|
int modestate; // FIXME: just to avoid cross-comp.
|
||||||
|
|
|
@ -75,7 +75,6 @@ static qboolean vid_initialized = false;
|
||||||
|
|
||||||
cvar_t *vid_fullscreen;
|
cvar_t *vid_fullscreen;
|
||||||
cvar_t *vid_system_gamma;
|
cvar_t *vid_system_gamma;
|
||||||
qboolean vid_gamma_avail;
|
|
||||||
|
|
||||||
int VID_options_items = 1;
|
int VID_options_items = 1;
|
||||||
int modestate;
|
int modestate;
|
||||||
|
|
|
@ -58,7 +58,6 @@
|
||||||
void VGA_UpdatePlanarScreen (void *srcbuffer);
|
void VGA_UpdatePlanarScreen (void *srcbuffer);
|
||||||
|
|
||||||
cvar_t *vid_system_gamma;
|
cvar_t *vid_system_gamma;
|
||||||
qboolean vid_gamma_avail;
|
|
||||||
|
|
||||||
static int num_modes, current_mode;
|
static int num_modes, current_mode;
|
||||||
static vga_modeinfo *modes;
|
static vga_modeinfo *modes;
|
||||||
|
|
Loading…
Reference in a new issue