Branimir Karadzic 11 years ago
parent
commit
f960d0cc31
3 changed files with 3 additions and 4 deletions
  1. 1 1
      scripts/genie.lua
  2. 2 2
      src/bgfx_p.h
  3. 0 1
      src/renderer_gl.cpp

+ 1 - 1
scripts/genie.lua

@@ -111,7 +111,7 @@ function exampleProject(_name)
 		configuration { "x32" }
 		configuration { "x32" }
 			libdirs { "$(OVR_DIR)/LibOVR/Lib/Win32/" .. _ACTION }
 			libdirs { "$(OVR_DIR)/LibOVR/Lib/Win32/" .. _ACTION }
 
 
-		configuration { "x64", "vs2012" }
+		configuration { "x64" }
 			libdirs { "$(OVR_DIR)/LibOVR/Lib/x64/" .. _ACTION }
 			libdirs { "$(OVR_DIR)/LibOVR/Lib/x64/" .. _ACTION }
 
 
 		configuration { "x32", "Debug" }
 		configuration { "x32", "Debug" }

+ 2 - 2
src/bgfx_p.h

@@ -1148,9 +1148,9 @@ namespace bgfx
 	BX_ALIGN_DECL_CACHE_LINE(struct) Frame
 	BX_ALIGN_DECL_CACHE_LINE(struct) Frame
 	{
 	{
 		Frame()
 		Frame()
-			: m_waitSubmit(0)
+			: m_hmdEnabled(false)
+			, m_waitSubmit(0)
 			, m_waitRender(0)
 			, m_waitRender(0)
-			, m_hmdEnabled(false)
 		{
 		{
 			SortKey term;
 			SortKey term;
 			term.reset();
 			term.reset();

+ 0 - 1
src/renderer_gl.cpp

@@ -4174,7 +4174,6 @@ namespace bgfx
 					? _render->m_hmd.height
 					? _render->m_hmd.height
 					: _render->m_resolution.m_height
 					: _render->m_resolution.m_height
 					;
 					;
-			_render->m_resolution.m_height;
 		float alphaRef = 0.0f;
 		float alphaRef = 0.0f;
 		uint32_t blendFactor = 0;
 		uint32_t blendFactor = 0;