summaryrefslogtreecommitdiffstats
path: root/minui/graphics.cpp
diff options
context:
space:
mode:
authorStéphane Marchesin <marcheu@chromium.org>2015-06-30 05:05:48 +0200
committerVincent Palatin <vpalatin@chromium.org>2015-07-02 00:27:48 +0200
commit1a92c4458dcc983f624a60fb75f9679c213e6814 (patch)
treeb7e8b01589bcb07fdc42cf3e3c14eed80953b894 /minui/graphics.cpp
parentMore accurate checking for overlapped ranges. (diff)
downloadandroid_bootable_recovery-1a92c4458dcc983f624a60fb75f9679c213e6814.tar
android_bootable_recovery-1a92c4458dcc983f624a60fb75f9679c213e6814.tar.gz
android_bootable_recovery-1a92c4458dcc983f624a60fb75f9679c213e6814.tar.bz2
android_bootable_recovery-1a92c4458dcc983f624a60fb75f9679c213e6814.tar.lz
android_bootable_recovery-1a92c4458dcc983f624a60fb75f9679c213e6814.tar.xz
android_bootable_recovery-1a92c4458dcc983f624a60fb75f9679c213e6814.tar.zst
android_bootable_recovery-1a92c4458dcc983f624a60fb75f9679c213e6814.zip
Diffstat (limited to '')
-rw-r--r--minui/graphics.cpp5
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) {