mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed OVR build.
This commit is contained in:
parent
aefa069a72
commit
ae497c58bb
1 changed files with 2 additions and 2 deletions
|
@ -2261,8 +2261,8 @@ namespace bgfx { namespace gl
|
||||||
config.OGL.Header.RTSize.h = m_resolution.m_height;
|
config.OGL.Header.RTSize.h = m_resolution.m_height;
|
||||||
# endif // OVR_VERSION > OVR_VERSION_043
|
# endif // OVR_VERSION > OVR_VERSION_043
|
||||||
config.OGL.Header.Multisample = 0;
|
config.OGL.Header.Multisample = 0;
|
||||||
config.OGL.Window = g_platformData.nwh;
|
config.OGL.Window = (HWND)g_platformData.nwh;
|
||||||
config.OGL.DC = GetDC(g_platformData.nwh);
|
config.OGL.DC = GetDC(config.OGL.Window);
|
||||||
if (m_ovr.postReset(g_platformData.nwh, &config.Config, !!(m_resolution.m_flags & BGFX_RESET_HMD_DEBUG) ) )
|
if (m_ovr.postReset(g_platformData.nwh, &config.Config, !!(m_resolution.m_flags & BGFX_RESET_HMD_DEBUG) ) )
|
||||||
{
|
{
|
||||||
uint32_t size = sizeof(uint32_t) + sizeof(TextureCreate);
|
uint32_t size = sizeof(uint32_t) + sizeof(TextureCreate);
|
||||||
|
|
Loading…
Reference in a new issue