mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-29 12:15:30 +00:00
Fixed warnings. (#3830)
This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user