1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-05-16 09:28:24 +02:00

Implement selection of upscaling filter in launcher

This commit is contained in:
Ivan Savenko
2024-08-03 20:14:51 +00:00
parent f29a687234
commit d6059b044d
11 changed files with 173 additions and 32 deletions
+8 -2
View File
@@ -166,7 +166,8 @@
"showfps",
"targetfps",
"vsync",
"scalingMode"
"upscalingFilter",
"downscalingFilter"
],
"properties" : {
"resolution" : {
@@ -230,7 +231,12 @@
"type" : "boolean",
"default" : true
},
"scalingMode" : {
"upscalingFilter" : {
"type" : "string",
"enum" : [ "auto", "none", "xbrz2", "xbrz3", "xbrz4" ],
"default" : "auto"
},
"downscalingFilter" : {
"type" : "string",
"enum" : [ "nearest", "linear", "best" ],
"default" : "best"