gl: Do not overwrite texture-cache image dimensions when updating format

- The code was an outdated relic from the early days. The calculated pitch was wrong as it did not take subregions (incomplete rows) into account.
This commit is contained in:
kd-11
2026-01-08 02:32:47 +03:00
committed by kd-11
parent 72a19a87b6
commit c22d2b51bb
-1
View File
@@ -698,7 +698,6 @@ namespace gl
}
// NOTE: Protection is handled by the caller
cached.set_dimensions(width, height, depth, (rsx_range.length() / height));
no_access_range = cached.get_min_max(no_access_range, rsx::section_bounds::locked_range);
}