Skip to content

Commit

Permalink
Make the screen size slider in video menu reflect actual viewport size.
Browse files Browse the repository at this point in the history
  • Loading branch information
kondrak committed Jul 14, 2019
1 parent 64a1ac3 commit 224afb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions linux/vid_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ void VID_MenuInit( void )
s_screensize_slider[i].generic.x = 0;
s_screensize_slider[i].generic.y = 20 * vid_hudscale->value;
s_screensize_slider[i].generic.name = "screen size";
s_screensize_slider[i].minvalue = 3;
s_screensize_slider[i].maxvalue = 12;
s_screensize_slider[i].minvalue = 4;
s_screensize_slider[i].maxvalue = 10;
s_screensize_slider[i].generic.callback = ScreenSizeCallback;

s_brightness_slider[i].generic.type = MTYPE_SLIDER;
Expand Down
4 changes: 2 additions & 2 deletions win32/vid_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ void VID_MenuInit( void )
s_screensize_slider[i].generic.x = 0;
s_screensize_slider[i].generic.y = 20 * vid_hudscale->value;
s_screensize_slider[i].generic.name = "screen size";
s_screensize_slider[i].minvalue = 3;
s_screensize_slider[i].maxvalue = 12;
s_screensize_slider[i].minvalue = 4;
s_screensize_slider[i].maxvalue = 10;
s_screensize_slider[i].generic.callback = ScreenSizeCallback;

s_brightness_slider[i].generic.type = MTYPE_SLIDER;
Expand Down

0 comments on commit 224afb8

Please sign in to comment.