diff --git a/scripts/genie.lua b/scripts/genie.lua index 448a06c01..3672575fb 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -111,7 +111,7 @@ function exampleProject(_name) configuration { "x32" } libdirs { "$(OVR_DIR)/LibOVR/Lib/Win32/" .. _ACTION } - configuration { "x64", "vs2012" } + configuration { "x64" } libdirs { "$(OVR_DIR)/LibOVR/Lib/x64/" .. _ACTION } configuration { "x32", "Debug" } diff --git a/src/bgfx_p.h b/src/bgfx_p.h index 6c5cfc43c..da52055b8 100644 --- a/src/bgfx_p.h +++ b/src/bgfx_p.h @@ -1148,9 +1148,9 @@ namespace bgfx BX_ALIGN_DECL_CACHE_LINE(struct) Frame { Frame() - : m_waitSubmit(0) + : m_hmdEnabled(false) + , m_waitSubmit(0) , m_waitRender(0) - , m_hmdEnabled(false) { SortKey term; term.reset(); diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index c48e7733c..c424cad1e 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -4174,7 +4174,6 @@ namespace bgfx ? _render->m_hmd.height : _render->m_resolution.m_height ; - _render->m_resolution.m_height; float alphaRef = 0.0f; uint32_t blendFactor = 0;