This commit is contained in:
Branimir Karadžić 2017-08-22 11:03:37 -07:00
parent 3544dc7389
commit f046503a1e
1 changed files with 2 additions and 1 deletions

View File

@ -6504,7 +6504,8 @@ namespace bgfx { namespace gl
uint32_t frameQueryIdx = UINT32_MAX;
if (m_timerQuerySupport)
if (m_timerQuerySupport
&& !BX_ENABLED(BX_PLATFORM_OSX) )
{
frameQueryIdx = m_gpuTimer.begin(BGFX_CONFIG_MAX_VIEWS);
}