diff options
author | Tao Bao <tbao@google.com> | 2018-11-27 06:14:02 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-11-27 06:14:02 +0100 |
commit | 16c681c129b1da3bcba1f27d31544a9e508fc6bb (patch) | |
tree | 53cbd77ff4dc61bc1a47e208ecd94d24ccfd4fa4 /minui/resources.cpp | |
parent | Merge changes I7b7cee68,I07d22c0d am: fb8a636a2d (diff) | |
parent | Merge "minui: Fix a wrong arg in calling GRSurface::Create()." (diff) | |
download | android_bootable_recovery-16c681c129b1da3bcba1f27d31544a9e508fc6bb.tar android_bootable_recovery-16c681c129b1da3bcba1f27d31544a9e508fc6bb.tar.gz android_bootable_recovery-16c681c129b1da3bcba1f27d31544a9e508fc6bb.tar.bz2 android_bootable_recovery-16c681c129b1da3bcba1f27d31544a9e508fc6bb.tar.lz android_bootable_recovery-16c681c129b1da3bcba1f27d31544a9e508fc6bb.tar.xz android_bootable_recovery-16c681c129b1da3bcba1f27d31544a9e508fc6bb.tar.zst android_bootable_recovery-16c681c129b1da3bcba1f27d31544a9e508fc6bb.zip |
Diffstat (limited to 'minui/resources.cpp')
-rw-r--r-- | minui/resources.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/resources.cpp b/minui/resources.cpp index c7af1904d..057d3fd03 100644 --- a/minui/resources.cpp +++ b/minui/resources.cpp @@ -261,7 +261,7 @@ int res_create_multi_display_surface(const char* name, int* frames, int* fps, for (int i = 0; i < *frames; ++i) { auto height_per_frame = height / *frames; auto created_surface = - GRSurface::Create(width, height_per_frame, width * 4, 4, width * height_per_frame); + GRSurface::Create(width, height_per_frame, width * 4, 4, width * height_per_frame * 4); if (!created_surface) { result = -8; goto exit; |