Clean up GetFramebufferSamplingParams

This commit is contained in:
Henrik Rydgård committed 2026-07-16 15:03:20 +02:00
1 parent c278fdf5a3
commit ea95eb420d
4 files changed
+35 -14

No files matched your search

+2 -2
View File
@@ -427,9 +427,9 @@ void DrawEngineVulkan::Flush() {
params.clipInfoFlags = clipInfoFlags_;
const SoftwareTransformAction action = RunSoftwareTransform(params, prim, swDec->VertexType(), swDec->GetDecVtxFmt(), numDecodedVerts_, VERTEX_BUFFER_MAX, vertexCount, inds, RemainingIndices(inds), &result);
if (result.setSafeSize)
if (result.setSafeSize) {
framebufferManager_->SetSafeSize(result.safeWidth, result.safeHeight);
}
// Only here, where we know whether to clear or to draw primitives, should we actually set the current framebuffer! Because that gives use the opportunity
// to use a "pre-clear" render pass, for high efficiency on tilers.