mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Assorted cleanups. Don't assert on no clear mask.
This commit is contained in:
1 parent
86966684d4
commit
ca0fb77080
8 files changed
+17
-19
No files matched your search
@@ -614,6 +614,8 @@ bool VulkanRenderManager::InitDepthStencilBuffer(VkCommandBuffer cmd) {
|
||||
|
||||
void VulkanRenderManager::Clear(uint32_t clearColor, float clearZ, int clearStencil, int clearMask) {
|
||||
_dbg_assert_(G3D, curRenderStep_ && curRenderStep_->stepType == VKRStepType::RENDER);
|
||||
if (!clearMask)
|
||||
return;
|
||||
// If this is the first drawing command, merge it into the pass.
|
||||
if (curRenderStep_->render.numDraws == 0) {
|
||||
curRenderStep_->render.clearColor = clearColor;
|
||||
|
||||
Reference in new issue
Block a user