mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Merge branch 'master' of github.com:bkaradzic/bgfx
This commit is contained in:
commit
4bb7714da8
3 changed files with 4 additions and 4 deletions
|
@ -43,7 +43,7 @@ namespace bgfx
|
|||
{
|
||||
wglMakeCurrent(m_hdc, m_context);
|
||||
GLenum err = glGetError();
|
||||
BX_WARN(0 == err, "wglMakeCurrent failed with GL error: 0x%04x.", err);
|
||||
BX_WARN(0 == err, "wglMakeCurrent failed with GL error: 0x%04x.", err); BX_UNUSED(err);
|
||||
}
|
||||
|
||||
void swapBuffers()
|
||||
|
@ -322,7 +322,7 @@ namespace bgfx
|
|||
{
|
||||
wglMakeCurrent(m_hdc, m_context);
|
||||
GLenum err = glGetError();
|
||||
BX_WARN(0 == err, "wglMakeCurrent failed with GL error: 0x%04x.", err);
|
||||
BX_WARN(0 == err, "wglMakeCurrent failed with GL error: 0x%04x.", err); BX_UNUSED(err);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -2957,7 +2957,7 @@ RENDERDOC_IMPORT
|
|||
|
||||
for (uint32_t eye = 0; eye < 2; ++eye)
|
||||
{
|
||||
const HMD::Eye hmdEye = hmd.eye[eye];
|
||||
const HMD::Eye& hmdEye = hmd.eye[eye];
|
||||
viewAdjust.un.val[12] = hmdEye.adjust[0];
|
||||
viewAdjust.un.val[13] = hmdEye.adjust[1];
|
||||
viewAdjust.un.val[14] = hmdEye.adjust[2];
|
||||
|
|
|
@ -4126,7 +4126,7 @@ namespace bgfx
|
|||
|
||||
for (uint32_t eye = 0; eye < 2; ++eye)
|
||||
{
|
||||
const HMD::Eye hmdEye = hmd.eye[eye];
|
||||
const HMD::Eye& hmdEye = hmd.eye[eye];
|
||||
viewAdjust.un.val[12] = hmdEye.adjust[0];
|
||||
viewAdjust.un.val[13] = hmdEye.adjust[1];
|
||||
viewAdjust.un.val[14] = hmdEye.adjust[2];
|
||||
|
|
Loading…
Reference in a new issue