HACK: hwc: hard-code screen resolution
Change-Id: Id0e3d50e07f56395873e14286772e2b3f6497d4a
Signed-off-by: Greg Hackmann <ghackmann@google.com>
diff --git a/libhwc/hwc.cpp b/libhwc/hwc.cpp
index 58d1c3d..5d15272 100644
--- a/libhwc/hwc.cpp
+++ b/libhwc/hwc.cpp
@@ -1607,8 +1607,8 @@
refreshRate = 60;
}
- dev->xres = info.xres;
- dev->yres = info.yres;
+ dev->xres = 2560;
+ dev->yres = 1600;
dev->xdpi = 1000 * (info.xres * 25.4f) / info.width;
dev->ydpi = 1000 * (info.yres * 25.4f) / info.height;
dev->vsync_period = 1000000000 / refreshRate;