mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
GL: Fixed GPU timer frequency.
This commit is contained in:
parent
0978ce36da
commit
6edba00924
1 changed files with 1 additions and 1 deletions
|
@ -5957,7 +5957,7 @@ namespace bgfx { namespace gl
|
|||
perfStats.cpuTime = frameTime;
|
||||
perfStats.cpuTimerFreq = timerFreq;
|
||||
perfStats.gpuTime = elapsedGl;
|
||||
perfStats.gpuTimerFreq = 100000000;
|
||||
perfStats.gpuTimerFreq = 1000000000;
|
||||
|
||||
if (_render->m_debug & (BGFX_DEBUG_IFH|BGFX_DEBUG_STATS) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue