mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 18:49:51 +01:00
Turn off annoying "debug flicker" I used to see if we were swapping buffers properly early on
Also minor logging changes, refine the false-positive debug layer check
This commit is contained in:
1 parent
79fd828d16
commit
575cc890b7
3 files changed
+12
-5
No files matched your search
@@ -680,8 +680,10 @@ void Thin3DVKContext::Begin(bool clear, uint32_t colorval, float depthVal, int s
|
||||
VkClearValue clearVal[2] = {};
|
||||
Uint8x4ToFloat4(colorval, clearVal[0].color.float32);
|
||||
|
||||
if (frameNum_ & 1)
|
||||
clearVal[0].color.float32[2] = 1.0f;
|
||||
// // Debug flicker - used to see if we swap at all. no longer necessary
|
||||
// if (frameNum_ & 1)
|
||||
// clearVal[0].color.float32[2] = 1.0f;
|
||||
|
||||
clearVal[1].depthStencil.depth = depthVal;
|
||||
clearVal[1].depthStencil.stencil = stencilVal;
|
||||
|
||||
|
||||
Reference in new issue
Block a user