summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-29 20:47:52 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-04-29 20:47:53 +0200
commit54da1122776f38ae365f61bb0ea190b456b2fa62 (patch)
tree814095d5dc822fc91f9d747de5db81b4735e6454
parentMerge "Fix potential OOM in update_verifier" (diff)
parentminui: Fix breakage in graphics_adf. (diff)
downloadandroid_bootable_recovery-54da1122776f38ae365f61bb0ea190b456b2fa62.tar
android_bootable_recovery-54da1122776f38ae365f61bb0ea190b456b2fa62.tar.gz
android_bootable_recovery-54da1122776f38ae365f61bb0ea190b456b2fa62.tar.bz2
android_bootable_recovery-54da1122776f38ae365f61bb0ea190b456b2fa62.tar.lz
android_bootable_recovery-54da1122776f38ae365f61bb0ea190b456b2fa62.tar.xz
android_bootable_recovery-54da1122776f38ae365f61bb0ea190b456b2fa62.tar.zst
android_bootable_recovery-54da1122776f38ae365f61bb0ea190b456b2fa62.zip
Diffstat (limited to '')
-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 = {};