diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2015-07-02 02:58:36 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-07-02 02:58:36 +0200 |
commit | 6284431df56aff58a0ea46f06341d23cb9ff94cd (patch) | |
tree | c56e5353cffd256ef4c4f87646f074d07a6cec28 /minui/graphics.cpp | |
parent | am 7125f959: Revert "Zero blocks before BLKDISCARD" (diff) | |
parent | Merge "Add drm support to minui" into mnc-dev (diff) | |
download | android_bootable_recovery-6284431df56aff58a0ea46f06341d23cb9ff94cd.tar android_bootable_recovery-6284431df56aff58a0ea46f06341d23cb9ff94cd.tar.gz android_bootable_recovery-6284431df56aff58a0ea46f06341d23cb9ff94cd.tar.bz2 android_bootable_recovery-6284431df56aff58a0ea46f06341d23cb9ff94cd.tar.lz android_bootable_recovery-6284431df56aff58a0ea46f06341d23cb9ff94cd.tar.xz android_bootable_recovery-6284431df56aff58a0ea46f06341d23cb9ff94cd.tar.zst android_bootable_recovery-6284431df56aff58a0ea46f06341d23cb9ff94cd.zip |
Diffstat (limited to 'minui/graphics.cpp')
-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) { |