From f960d0cc315c65155ff53c5d0067c093c9d83bf6 Mon Sep 17 00:00:00 2001 From: Branimir Karadzic Date: Wed, 29 Oct 2014 15:50:41 -0700 Subject: [PATCH] Cleanup. --- scripts/genie.lua | 2 +- src/bgfx_p.h | 4 ++-- src/renderer_gl.cpp | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) 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;