File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -222,12 +222,11 @@ bool OSVRTrackedDevice::IsDisplayRealDisplay()
222222
223223void OSVRTrackedDevice::GetRecommendedRenderTargetSize (uint32_t * width, uint32_t * height)
224224{
225- // const double overfill_factor = renderManagerConfig_.getRenderOverfillFactor();
226- const double overfill_factor = 1.0 ;
225+ const double oversample_factor = renderManagerConfig_.getRenderOversampleFactor ();
227226 const auto bounds = getWindowBounds (display_, scanoutOrigin_);
228227
229- *width = static_cast <uint32_t >(bounds.width * overfill_factor );
230- *height = static_cast <uint32_t >(bounds.height * overfill_factor );
228+ *width = static_cast <uint32_t >(bounds.width * oversample_factor );
229+ *height = static_cast <uint32_t >(bounds.height * oversample_factor );
231230 OSVR_LOG (trace) << " GetRecommendedRenderTargetSize(): width = " << *width << " , height = " << *height << " ." ;
232231}
233232
You can’t perform that action at this time.
0 commit comments