Windows fixes

This commit is contained in:
2016-07-23 23:33:23 -07:00
parent d71c01e1d7
commit cf26e39259
2 changed files with 9 additions and 0 deletions

View File

@@ -972,6 +972,7 @@ public:
this, m_hwnd, b3dCtx, sampleCount));
return;
}
#if BOO_HAS_VULKAN
else if (b3dCtx.m_vulkanDxFactory)
{
m_gfxCtx.reset(new GraphicsContextWin32Vulkan(this, wndInstance, m_hwnd, &g_VulkanContext,
@@ -979,6 +980,7 @@ public:
if (m_gfxCtx->initializeContext(vulkanHandle))
return;
}
#endif
m_gfxCtx.reset(new GraphicsContextWin32D3D(api, this, m_hwnd, b3dCtx, sampleCount));
}