mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user