fix some things resetting when switching to software from ogl and back
also add a missing hwrender ifdef
This commit is contained in:
1 parent
c9289dec5a
commit
6f998f922b
2 files changed
+7
No files matched your search
@@ -1721,7 +1721,9 @@ static menuitem_t OP_SaturnMenu[] =
|
||||
{IT_STRING | IT_CVAR, NULL, "Show Minimap Names", &cv_showminimapnames, 80},
|
||||
{IT_STRING | IT_CVAR, NULL, "Small Minimap Players", &cv_minihead, 90},
|
||||
{IT_STRING | IT_CVAR, NULL, "Less Midnight Channel Flicker", &cv_lessflicker, 110},
|
||||
#ifdef HWRENDER
|
||||
{IT_STRING | IT_CVAR, NULL, "Flashpals in Palette Renderer", &cv_grflashpal, 120},
|
||||
#endif
|
||||
{IT_SUBMENU|IT_STRING, NULL, "Player distortion...", &OP_PlayerDistortDef, 140},
|
||||
{IT_SUBMENU|IT_STRING, NULL, "Hud Offsets...", &OP_HudOffsetDef, 155},
|
||||
|
||||
@@ -1739,6 +1741,7 @@ enum
|
||||
sm_mapnames,
|
||||
sm_smallmap,
|
||||
sm_pisschannel,
|
||||
sm_flashpal,
|
||||
sm_distortionmenu,
|
||||
sm_hudoffsets,
|
||||
sm_credits,
|
||||
|
||||
@@ -2001,6 +2001,10 @@ void R_RegisterEngineStuff(void)
|
||||
CV_RegisterVar(&cv_grusecustomshaders);
|
||||
CV_RegisterVar(&cv_grpaletteshader);
|
||||
CV_RegisterVar(&cv_grflashpal);
|
||||
CV_RegisterVar(&cv_grrenderdistance);
|
||||
CV_RegisterVar(&cv_grportals);
|
||||
CV_RegisterVar(&cv_secbright);
|
||||
CV_RegisterVar(&cv_grfiltermode);
|
||||
#endif
|
||||
|
||||
#ifdef HWRENDER
|
||||
|
||||
Reference in new issue
Block a user