mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Fixed issue #823.
This commit is contained in:
@@ -1342,7 +1342,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||
|
||||
for (uint32_t ii = 0; ii < TextureFormat::Count; ++ii)
|
||||
{
|
||||
uint8_t support = BGFX_CAPS_FORMAT_TEXTURE_NONE;
|
||||
uint16_t support = BGFX_CAPS_FORMAT_TEXTURE_NONE;
|
||||
|
||||
const DXGI_FORMAT fmt = isDepth(TextureFormat::Enum(ii) )
|
||||
? s_textureFormat[ii].m_fmtDsv
|
||||
|
||||
@@ -1014,7 +1014,7 @@ namespace bgfx { namespace d3d12
|
||||
|
||||
for (uint32_t ii = 0; ii < TextureFormat::Count; ++ii)
|
||||
{
|
||||
uint8_t support = BGFX_CAPS_FORMAT_TEXTURE_NONE;
|
||||
uint16_t support = BGFX_CAPS_FORMAT_TEXTURE_NONE;
|
||||
|
||||
const DXGI_FORMAT fmt = isDepth(TextureFormat::Enum(ii) )
|
||||
? s_textureFormat[ii].m_fmtDsv
|
||||
|
||||
@@ -1686,7 +1686,7 @@ namespace bgfx { namespace gl
|
||||
|
||||
for (uint32_t ii = 0; ii < TextureFormat::Count; ++ii)
|
||||
{
|
||||
uint8_t supported = 0;
|
||||
uint16_t supported = BGFX_CAPS_FORMAT_TEXTURE_NONE;
|
||||
supported |= s_textureFormat[ii].m_supported
|
||||
? BGFX_CAPS_FORMAT_TEXTURE_2D
|
||||
| BGFX_CAPS_FORMAT_TEXTURE_3D
|
||||
|
||||
Reference in New Issue
Block a user