summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-29 20:55:26 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-04-29 20:55:26 +0200
commit895e6fdf3604392efc713930dd4f364647d3e9b0 (patch)
tree8b96b765b725f5c421e8c8725b020d7d3338b0ce
parentMerge "Fix potential OOM in update_verifier" am: 5443072c3c am: 00a309ab3e (diff)
parentMerge "minui: Fix breakage in graphics_adf." am: 54da112277 (diff)
downloadandroid_bootable_recovery-895e6fdf3604392efc713930dd4f364647d3e9b0.tar
android_bootable_recovery-895e6fdf3604392efc713930dd4f364647d3e9b0.tar.gz
android_bootable_recovery-895e6fdf3604392efc713930dd4f364647d3e9b0.tar.bz2
android_bootable_recovery-895e6fdf3604392efc713930dd4f364647d3e9b0.tar.lz
android_bootable_recovery-895e6fdf3604392efc713930dd4f364647d3e9b0.tar.xz
android_bootable_recovery-895e6fdf3604392efc713930dd4f364647d3e9b0.tar.zst
android_bootable_recovery-895e6fdf3604392efc713930dd4f364647d3e9b0.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 = {};