summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-29 20:57:26 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-04-29 20:57:26 +0200
commitf0918d66bef9f663f16ddae457b452efe41995ac (patch)
treec14c1aaa5a5eeae301249d5f13aa4960eaca12dd
parentMerge "Fix potential OOM in update_verifier" am: 5443072c3c am: 00a309ab3e am: 711e8b649d (diff)
parentMerge "minui: Fix breakage in graphics_adf." am: 54da112277 am: d66f05b82c (diff)
downloadandroid_bootable_recovery-f0918d66bef9f663f16ddae457b452efe41995ac.tar
android_bootable_recovery-f0918d66bef9f663f16ddae457b452efe41995ac.tar.gz
android_bootable_recovery-f0918d66bef9f663f16ddae457b452efe41995ac.tar.bz2
android_bootable_recovery-f0918d66bef9f663f16ddae457b452efe41995ac.tar.lz
android_bootable_recovery-f0918d66bef9f663f16ddae457b452efe41995ac.tar.xz
android_bootable_recovery-f0918d66bef9f663f16ddae457b452efe41995ac.tar.zst
android_bootable_recovery-f0918d66bef9f663f16ddae457b452efe41995ac.zip
-rw-r--r--minui/graphics_adf.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/minui/graphics_adf.cpp b/minui/graphics_adf.cpp
index 1b15a04fb..a59df00c6 100644
--- a/minui/graphics_adf.cpp
+++ b/minui/graphics_adf.cpp
@@ -28,7 +28,8 @@
#include "minui/minui.h"
-MinuiBackendAdf::MinuiBackendAdf() : intf_fd(-1), dev(), n_surfaces(0), surfaces() {}
+MinuiBackendAdf::MinuiBackendAdf()
+ : intf_fd(-1), dev(), current_surface(0), n_surfaces(0), surfaces() {}
int MinuiBackendAdf::SurfaceInit(const drm_mode_modeinfo* mode, GRSurfaceAdf* surf) {
*surf = {};