Name the overlay scaling line 'bilinear (FSR only enlarges)' when FSR is selected and the image is larger than the window

FSR only enlarges (vk_fsr_record returns 0 when the picture is not larger than the crop), so a 3840x2160 image in a 1920x1080 window is shrunk by the bilinear blit and the line read 'bilinear' next to a menu showing FSR (#219).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Valiantsin DzerakhandClaude Opus 5.5 committed 2026-11-01 06:00:56 +03:00
1 parent f469c5a774
commit dd448482b9
3 files changed
+9 -2

No files matched your search

+2 -1
View File
@@ -165,7 +165,8 @@ typedef enum {
UI_MENU_OV_FMT_SCENE, // "%ux%u, %.0f%%": the scene and its share of the game image's width
UI_MENU_OV_FMT_FSR, // "AMD FSR 1, sharpness %d%%"
UI_MENU_OV_SCALE_NONE, UI_MENU_OV_SCALE_BILINEAR,
UI_MENU_LAST_ID = UI_MENU_OV_SCALE_BILINEAR,
UI_MENU_OV_SCALE_DOWN, // FSR is selected but the image is larger than the window: FSR only enlarges
UI_MENU_LAST_ID = UI_MENU_OV_SCALE_DOWN,
UI_TEXT_COUNT
} UiTextId;