Fixed warnings. (#3830)

This commit is contained in:
Branimir Karadžić
2026-07-13 03:53:02 +00:00
committed by GitHub
parent 510b0445c2
commit 39a2a05a3c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -747,9 +747,9 @@ namespace bgfx { namespace d3d12
, m_winPixEvent(NULL)
, m_featureLevel(D3D_FEATURE_LEVEL(0) )
, m_swapChain(NULL)
, m_backBufferDepthStencil(NULL)
, m_currentColor(NULL)
, m_currentDepthStencil(NULL)
, m_backBufferDepthStencil(NULL)
, m_wireframe(false)
, m_lost(false)
, m_maxAnisotropy(1)
+1 -1
View File
@@ -4206,7 +4206,7 @@ VK_IMPORT_DEVICE
const VkResult result = vkAllocateDescriptorSets(m_device, &dsai, &descriptorSet);
if (VK_SUCCESS != result
&& m_descriptorPoolIdx + 1 < kMaxDescriptorPoolChunks)
&& uint32_t(m_descriptorPoolIdx + 1) < kMaxDescriptorPoolChunks)
{
++m_descriptorPoolIdx;