Fix supersampling

This commit is contained in:
luboslenco
2024-12-04 11:04:36 +01:00
parent dd4ac5e622
commit d861a72468
+1 -1
View File
@@ -45,7 +45,7 @@ function render_path_base_apply_config() {
let keys: string[] = map_keys(render_path_render_targets);
for (let i: i32 = 0; i < keys.length; ++i) {
let rt: render_target_t = map_get(render_path_render_targets, keys[i]);
if (rt.width == 0 && rt.scale != 1.0) {
if (rt.width == 0) {
rt.scale = render_path_base_super_sample;
}
}