Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(714)

Unified Diff: device/vr/android/gvr/gvr_device.cc

Issue 2544503003: WebVR: fix incorrect renderWidth for the right eye (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/android/gvr/gvr_device.cc
diff --git a/device/vr/android/gvr/gvr_device.cc b/device/vr/android/gvr/gvr_device.cc
index 6e1c1bdec1a0aae69c5313215642aa429bce98cf..6a8f0611b822e64a3ba1decc56b79affc479045d 100644
--- a/device/vr/android/gvr/gvr_device.cc
+++ b/device/vr/android/gvr/gvr_device.cc
@@ -103,7 +103,7 @@ mojom::VRDisplayInfoPtr GvrDevice::GetVRDevice() {
gvr::Sizei compositor_size = delegate_->GetWebVRCompositorSurfaceSize();
left_eye->renderWidth = compositor_size.width / 2;
left_eye->renderHeight = compositor_size.height;
- right_eye->renderWidth = left_eye->renderHeight;
+ right_eye->renderWidth = left_eye->renderWidth;
right_eye->renderHeight = left_eye->renderHeight;
std::string vendor = gvr_api->GetViewerVendor();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698