mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 13:03:05 +01:00
Fixed build.
This commit is contained in:
@@ -1885,7 +1885,7 @@ BX_TRACE("%d, %d, %d, %s", _array, _srgb, _mipAutogen, getName(_format) );
|
||||
const bx::StringView token = bx::StringView(ext.getPtr(), space.getPtr() );
|
||||
updateExtension(token);
|
||||
|
||||
ext.set(token.getTerm() + 1, ext.getTerm() );
|
||||
ext.set(space.getPtr() + (space.isEmpty() ? 0 : 1), ext.getTerm() );
|
||||
|
||||
++index;
|
||||
}
|
||||
|
||||
@@ -903,7 +903,7 @@ VK_IMPORT
|
||||
|
||||
uint32_t numEnabledExtensions = 2;
|
||||
|
||||
const char* enabledExtension[Extension::Count + numEnabledExtensions] =
|
||||
const char* enabledExtension[Extension::Count + 2] =
|
||||
{
|
||||
VK_KHR_SURFACE_EXTENSION_NAME,
|
||||
KHR_SURFACE_EXTENSION_NAME,
|
||||
@@ -1079,7 +1079,7 @@ VK_IMPORT_INSTANCE
|
||||
g_caps.deviceId = uint16_t(m_deviceProperties.deviceID);
|
||||
|
||||
g_caps.limits.maxTextureSize = m_deviceProperties.limits.maxImageDimension2D;
|
||||
g_caps.limits.maxFBAttachments = bx::min<uint8_t>(m_deviceProperties.limits.maxFragmentOutputAttachments, BGFX_CONFIG_MAX_FRAME_BUFFER_ATTACHMENTS);
|
||||
g_caps.limits.maxFBAttachments = bx::min(uint8_t(m_deviceProperties.limits.maxFragmentOutputAttachments), uint8_t(BGFX_CONFIG_MAX_FRAME_BUFFER_ATTACHMENTS) );
|
||||
g_caps.limits.maxComputeBindings = BGFX_MAX_COMPUTE_BINDINGS;
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user