mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Clean up GetFramebufferSamplingParams
This commit is contained in:
1 parent
c278fdf5a3
commit
ea95eb420d
4 files changed
+35
-14
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user