This commit is contained in:
Branimir Karadžić
2016-09-29 18:30:21 -07:00
parent ce20d3ab08
commit 1c3e28fd9d
5 changed files with 11 additions and 5 deletions
+2 -1
View File
@@ -6100,7 +6100,8 @@ namespace bgfx { namespace gl
_render->m_hmdInitialized = m_ovr.isInitialized();
const bool hmdEnabled = m_ovr.isEnabled();
ViewState viewState(_render, hmdEnabled);
static ViewState viewState;
viewState.reset(_render, hmdEnabled);
uint16_t programIdx = invalidHandle;
SortKey key;