From 7c1c1802438835ab5582358edbec81ba66bcebb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 30 Nov 2014 00:03:02 -0800 Subject: [PATCH] Fixed compile error. --- src/ovr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ovr.cpp b/src/ovr.cpp index f70f3e5d..e01ee30e 100644 --- a/src/ovr.cpp +++ b/src/ovr.cpp @@ -140,7 +140,7 @@ ovrError: ovrSizei sizeL = ovrHmd_GetFovTextureSize(m_hmd, ovrEye_Left, m_hmd->DefaultEyeFov[0], 1.0f); ovrSizei sizeR = ovrHmd_GetFovTextureSize(m_hmd, ovrEye_Right, m_hmd->DefaultEyeFov[1], 1.0f); m_rtSize.w = sizeL.w + sizeR.w; - m_rtSize.h = max(sizeL.h, sizeR.h); + m_rtSize.h = bx::uint32_max(sizeL.h, sizeR.h); m_warning = true;