Fixed variable shadowing warning.

This commit is contained in:
Branimir Karadžić 2015-06-19 21:08:32 -07:00
parent 4408e44515
commit f2e8d6c239

View file

@ -2973,14 +2973,14 @@ namespace bgfx { namespace d3d9
{ {
m_control.consume(1); m_control.consume(1);
uint64_t start; uint64_t timeStart;
DX_CHECK(frame.m_start->GetData(&start, sizeof(start), 0) ); DX_CHECK(frame.m_start->GetData(&timeStart, sizeof(timeStart), 0) );
uint64_t end; uint64_t timeEnd;
DX_CHECK(frame.m_end->GetData(&end, sizeof(end), 0) ); DX_CHECK(frame.m_end->GetData(&timeEnd, sizeof(timeEnd), 0) );
m_frequency = freq; m_frequency = freq;
m_elapsed = end - start; m_elapsed = timeEnd - timeStart;
return true; return true;
} }