diff options
author | Rob Clark <robdclark@gmail.com> | 2016-10-31 20:43:25 -0400 |
---|---|---|
committer | Robert Foss <robert.foss@collabora.com> | 2017-03-08 16:15:31 -0500 |
commit | bc74bab26c503f11dbb2db3f99cf0febc9253c96 (patch) | |
tree | b7a9ccdb126a2dd72bbdaa9250182cf6f01e9044 | |
parent | fce5b2ed54d633e44e3f7d54fcb1410f61110995 (diff) | |
download | drm_hwcomposer-hwc2_fence_v2_tmp.tar.gz drm_hwcomposer-hwc2_fence_v2_tmp.tar.xz |
HACK: make things biggerhwc2_fence_v2_tmp
-rw-r--r-- | drmhwctwo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drmhwctwo.cpp b/drmhwctwo.cpp index 1501d51..f84159f 100644 --- a/drmhwctwo.cpp +++ b/drmhwctwo.cpp @@ -340,7 +340,7 @@ HWC2::Error DrmHwcTwo::HwcDisplay::GetDisplayAttribute(hwc2_config_t config, return HWC2::Error::BadConfig; } - static const int32_t kUmPerInch = 25400; + static const int32_t kUmPerInch = 25400*2; uint32_t mm_width = connector_->mm_width(); uint32_t mm_height = connector_->mm_height(); auto attribute = static_cast<HWC2::Attribute>(attribute_in); |