- more hw_cvars cleanup.
Copied several range checks from Raze, moved vid_gamma to hw_cvars.cpp and removed some old and no longer necessary gamma setup code.
This commit is contained in:
parent
1ad2f30e0d
commit
61c94c25ed
4 changed files with 39 additions and 51 deletions
|
|
@ -347,7 +347,6 @@ bool IVideo::SetResolution ()
|
|||
|
||||
screen = buff;
|
||||
screen->InitializeState();
|
||||
screen->SetGamma();
|
||||
|
||||
V_UpdateModeSize(screen->GetWidth(), screen->GetHeight());
|
||||
|
||||
|
|
@ -423,7 +422,6 @@ void V_Init2()
|
|||
menu_resolution_custom_height = SCREENHEIGHT;
|
||||
|
||||
screen->SetVSync(vid_vsync);
|
||||
screen->SetGamma ();
|
||||
FBaseCVar::ResetColors ();
|
||||
C_NewModeAdjust();
|
||||
setsizeneeded = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue