From 2674fec1d93f07f6399420787cc3aa2c0c5df719 Mon Sep 17 00:00:00 2001 From: lefufu Date: Sun, 2 Jul 2017 12:27:17 +0200 Subject: [PATCH] Update OSVRTrackedHMD.cpp --- src/OSVRTrackedHMD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OSVRTrackedHMD.cpp b/src/OSVRTrackedHMD.cpp index e0cd4d5..6568b88 100644 --- a/src/OSVRTrackedHMD.cpp +++ b/src/OSVRTrackedHMD.cpp @@ -222,7 +222,7 @@ void OSVRTrackedHMD::GetRecommendedRenderTargetSize(uint32_t* width, uint32_t* h const double overfill_factor = 1.0; const auto bounds = getWindowBounds(display_, scanoutOrigin_); - *width = static_cast(bounds.width * overfill_factor); + *width = static_cast(bounds.width * overfill_factor)/2; *height = static_cast(bounds.height * overfill_factor); OSVR_LOG(trace) << "GetRecommendedRenderTargetSize(): width = " << *width << ", height = " << *height << "."; }