diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2015-07-03 22:34:26 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-07-03 22:34:26 +0200 |
commit | f09db68acbb5501826ee0b4f9ed803c3eb1ec678 (patch) | |
tree | c56e5353cffd256ef4c4f87646f074d07a6cec28 /minui/graphics.cpp | |
parent | am c4b6f87f: am 7125f959: Revert "Zero blocks before BLKDISCARD" (diff) | |
parent | am 8409b088: Merge "Add drm support to minui" into mnc-dev (diff) | |
download | android_bootable_recovery-f09db68acbb5501826ee0b4f9ed803c3eb1ec678.tar android_bootable_recovery-f09db68acbb5501826ee0b4f9ed803c3eb1ec678.tar.gz android_bootable_recovery-f09db68acbb5501826ee0b4f9ed803c3eb1ec678.tar.bz2 android_bootable_recovery-f09db68acbb5501826ee0b4f9ed803c3eb1ec678.tar.lz android_bootable_recovery-f09db68acbb5501826ee0b4f9ed803c3eb1ec678.tar.xz android_bootable_recovery-f09db68acbb5501826ee0b4f9ed803c3eb1ec678.tar.zst android_bootable_recovery-f09db68acbb5501826ee0b4f9ed803c3eb1ec678.zip |
Diffstat (limited to '')
-rw-r--r-- | minui/graphics.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/minui/graphics.cpp b/minui/graphics.cpp index f09f1c6b0..c0eea9e38 100644 --- a/minui/graphics.cpp +++ b/minui/graphics.cpp @@ -369,6 +369,11 @@ int gr_init(void) } if (!gr_draw) { + gr_backend = open_drm(); + gr_draw = gr_backend->init(gr_backend); + } + + if (!gr_draw) { gr_backend = open_fbdev(); gr_draw = gr_backend->init(gr_backend); if (gr_draw == NULL) { |