summaryrefslogtreecommitdiffstats
path: root/minui/graphics_adf.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-29 20:50:56 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-04-29 20:50:56 +0200
commitd66f05b82c769ae1ca93070c14652bfa757ebc65 (patch)
tree814095d5dc822fc91f9d747de5db81b4735e6454 /minui/graphics_adf.cpp
parentMerge "Fix potential OOM in update_verifier" (diff)
parentMerge "minui: Fix breakage in graphics_adf." (diff)
downloadandroid_bootable_recovery-d66f05b82c769ae1ca93070c14652bfa757ebc65.tar
android_bootable_recovery-d66f05b82c769ae1ca93070c14652bfa757ebc65.tar.gz
android_bootable_recovery-d66f05b82c769ae1ca93070c14652bfa757ebc65.tar.bz2
android_bootable_recovery-d66f05b82c769ae1ca93070c14652bfa757ebc65.tar.lz
android_bootable_recovery-d66f05b82c769ae1ca93070c14652bfa757ebc65.tar.xz
android_bootable_recovery-d66f05b82c769ae1ca93070c14652bfa757ebc65.tar.zst
android_bootable_recovery-d66f05b82c769ae1ca93070c14652bfa757ebc65.zip
Diffstat (limited to 'minui/graphics_adf.cpp')
-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 = {};