Cleanup.
This commit is contained in:
parent
ecf7eba043
commit
867696f1dc
2 changed files with 5 additions and 2 deletions
|
@ -254,7 +254,10 @@ class Occlusion : public entry::AppI
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bgfx::dbgTextImage(5, 5, CUBES_DIM, CUBES_DIM, img, CUBES_DIM*2);
|
for (uint32_t xx = 0; xx < CUBES_DIM; ++xx)
|
||||||
|
{
|
||||||
|
bgfx::dbgTextImage(5 + xx*2, 5, 1, CUBES_DIM, img + xx*2, CUBES_DIM*2);
|
||||||
|
}
|
||||||
|
|
||||||
// Advance to next frame. Rendering thread will be kicked to
|
// Advance to next frame. Rendering thread will be kicked to
|
||||||
// process submitted rendering primitives.
|
// process submitted rendering primitives.
|
||||||
|
|
|
@ -3434,7 +3434,7 @@ namespace bgfx { namespace d3d9
|
||||||
{
|
{
|
||||||
Query& query = m_query[m_control.m_read];
|
Query& query = m_query[m_control.m_read];
|
||||||
|
|
||||||
uint64_t result;
|
uint32_t result;
|
||||||
HRESULT hr = query.m_ptr->GetData(&result, sizeof(result), 0);
|
HRESULT hr = query.m_ptr->GetData(&result, sizeof(result), 0);
|
||||||
if (S_FALSE == hr)
|
if (S_FALSE == hr)
|
||||||
{
|
{
|
||||||
|
|
Reference in a new issue