mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-02 22:41:38 +00:00
Two small renderer switching changes:
- Allow renderer switching in resolution menu - Fix "(F10)" suffix not being shown on the renderer option
This commit is contained in:
parent
541e2a4fe6
commit
f564090c80
1 changed files with 5 additions and 1 deletions
|
@ -2157,7 +2157,7 @@ static void M_VideoOptions(INT32 choice)
|
|||
{
|
||||
OP_VideoOptionsMenu[op_video_renderer].status = (IT_STRING | IT_CVAR);
|
||||
OP_VideoOptionsMenu[op_video_renderer].patch = NULL;
|
||||
OP_VideoOptionsMenu[op_video_renderer].text = "Renderer";
|
||||
OP_VideoOptionsMenu[op_video_renderer].text = "Renderer (F10)";
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -13456,6 +13456,10 @@ static void M_HandleVideoMode(INT32 ch)
|
|||
setmodeneeded = VID_GetModeForSize(cv_scr_width_w.value, cv_scr_height_w.value)+1;
|
||||
break;
|
||||
|
||||
case KEY_F10: // Renderer toggle, also processed inside menus
|
||||
CV_AddValue(&cv_renderer, 1);
|
||||
break;
|
||||
|
||||
case KEY_F11:
|
||||
S_StartSound(NULL, sfx_menu1);
|
||||
CV_SetValue(&cv_fullscreen, !cv_fullscreen.value);
|
||||
|
|
Loading…
Reference in a new issue