This commit is contained in:
Branimir Karadžić 2014-10-30 21:06:52 -07:00
parent f960d0cc31
commit ea36931ee1
3 changed files with 4 additions and 4 deletions

View file

@ -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
{

View file

@ -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];

View file

@ -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];