Vulkan: Use suboptimal clears instead of no clears in buffered

This commit is contained in:
Henrik Rydgard authored and Henrik Rydgård committed 2017-05-30 09:36:17 +02:00
1 parent 0c70735bc4
commit 5f388b6b64
1 file changed
+3 -3
+3 -3
View File
@@ -173,7 +173,7 @@ void FramebufferManagerVulkan::DestroyDeviceObjects() {
}
void FramebufferManagerVulkan::NotifyClear(bool clearColor, bool clearAlpha, bool clearDepth, uint32_t color, float depth) {
if (!useBufferedRendering_) {
// if (!useBufferedRendering_) {
float x, y, w, h;
CenterDisplayOutputRect(&x, &y, &w, &h, 480.0f, 272.0f, (float)pixelWidth_, (float)pixelHeight_, ROTATION_LOCKED_HORIZONTAL);
@@ -192,9 +192,9 @@ void FramebufferManagerVulkan::NotifyClear(bool clearColor, bool clearAlpha, boo
if (clearDepth) {
SetDepthUpdated();
}
} else {
//} else {
// TODO: Clever render pass magic.
}
//}
}
void FramebufferManagerVulkan::DoNotifyDraw() {