This commit is contained in:
Branimir Karadžić
2015-11-03 19:06:14 -08:00
parent 867696f1dc
commit b3aa330b1c
3 changed files with 3 additions and 3 deletions

View File

@@ -2715,7 +2715,7 @@ namespace bgfx { namespace gl
bool isVisible(Frame* _render, OcclusionQueryHandle _handle, bool _visible)
{
m_occlusionQuery.resolve(_render);
return _visible == 0 != _render->m_occlusion[_handle.idx];
return _visible == (0 != _render->m_occlusion[_handle.idx]);
}
void ovrPostReset()