summaryrefslogtreecommitdiffstats
path: root/minui/graphics.cpp
diff options
context:
space:
mode:
authorWeizhung Ding <weizhungding@google.com>2021-09-27 05:30:26 +0200
committerWeizhung Ding <weizhungding@google.com>2022-01-25 09:49:55 +0100
commitf4dfa1adbbb1f18e4cbb58635b5bca91a2a7fe16 (patch)
treeb5823c2d451cc5a8c84b71336571e8bd4d074ab9 /minui/graphics.cpp
parentMerge "[MTE] Add interface to communicate MTE status to bootloader." (diff)
downloadandroid_bootable_recovery-f4dfa1adbbb1f18e4cbb58635b5bca91a2a7fe16.tar
android_bootable_recovery-f4dfa1adbbb1f18e4cbb58635b5bca91a2a7fe16.tar.gz
android_bootable_recovery-f4dfa1adbbb1f18e4cbb58635b5bca91a2a7fe16.tar.bz2
android_bootable_recovery-f4dfa1adbbb1f18e4cbb58635b5bca91a2a7fe16.tar.lz
android_bootable_recovery-f4dfa1adbbb1f18e4cbb58635b5bca91a2a7fe16.tar.xz
android_bootable_recovery-f4dfa1adbbb1f18e4cbb58635b5bca91a2a7fe16.tar.zst
android_bootable_recovery-f4dfa1adbbb1f18e4cbb58635b5bca91a2a7fe16.zip
Diffstat (limited to 'minui/graphics.cpp')
-rw-r--r--minui/graphics.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/minui/graphics.cpp b/minui/graphics.cpp
index f25694ab5..597f2ceaf 100644
--- a/minui/graphics.cpp
+++ b/minui/graphics.cpp
@@ -450,6 +450,10 @@ void gr_fb_blank(bool blank) {
gr_backend->Blank(blank);
}
+void gr_fb_blank(bool blank, int index) {
+ gr_backend->Blank(blank, static_cast<MinuiBackend::DrmConnector>(index));
+}
+
void gr_rotate(GRRotation rot) {
rotation = rot;
}