diff options
author | Tao Bao <tbao@google.com> | 2018-11-27 05:52:56 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-11-27 05:52:56 +0100 |
commit | ea4ec3149b0c4f4eef30e77f6b65cb60b36c81f8 (patch) | |
tree | addc9f10afc8eec7944db56f7ba58321f092ece1 /minui | |
parent | Merge changes I7b7cee68,I07d22c0d (diff) | |
parent | minui: Fix a wrong arg in calling GRSurface::Create(). (diff) | |
download | android_bootable_recovery-ea4ec3149b0c4f4eef30e77f6b65cb60b36c81f8.tar android_bootable_recovery-ea4ec3149b0c4f4eef30e77f6b65cb60b36c81f8.tar.gz android_bootable_recovery-ea4ec3149b0c4f4eef30e77f6b65cb60b36c81f8.tar.bz2 android_bootable_recovery-ea4ec3149b0c4f4eef30e77f6b65cb60b36c81f8.tar.lz android_bootable_recovery-ea4ec3149b0c4f4eef30e77f6b65cb60b36c81f8.tar.xz android_bootable_recovery-ea4ec3149b0c4f4eef30e77f6b65cb60b36c81f8.tar.zst android_bootable_recovery-ea4ec3149b0c4f4eef30e77f6b65cb60b36c81f8.zip |
Diffstat (limited to 'minui')
-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; |