mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed variable shadowing warning.
This commit is contained in:
parent
4408e44515
commit
f2e8d6c239
1 changed files with 5 additions and 5 deletions
|
@ -2973,14 +2973,14 @@ namespace bgfx { namespace d3d9
|
|||
{
|
||||
m_control.consume(1);
|
||||
|
||||
uint64_t start;
|
||||
DX_CHECK(frame.m_start->GetData(&start, sizeof(start), 0) );
|
||||
uint64_t timeStart;
|
||||
DX_CHECK(frame.m_start->GetData(&timeStart, sizeof(timeStart), 0) );
|
||||
|
||||
uint64_t end;
|
||||
DX_CHECK(frame.m_end->GetData(&end, sizeof(end), 0) );
|
||||
uint64_t timeEnd;
|
||||
DX_CHECK(frame.m_end->GetData(&timeEnd, sizeof(timeEnd), 0) );
|
||||
|
||||
m_frequency = freq;
|
||||
m_elapsed = end - start;
|
||||
m_elapsed = timeEnd - timeStart;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue