Fixed issue #823.
This commit is contained in:
parent
c9a84bd542
commit
e47b474263
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user