summaryrefslogtreecommitdiffstats
path: root/minui/graphics_drm.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-06-06 19:53:20 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-06-06 19:53:20 +0200
commit0e2d90073940d33484dd8131f13ff04e7baf25ac (patch)
treed6d714915fdd9bb45275a1ff2f1e1a99251a9959 /minui/graphics_drm.h
parentMerge "ui: join only if joinable." (diff)
parentminui: Handle the failures from the drm backend in gr_init (diff)
downloadandroid_bootable_recovery-0e2d90073940d33484dd8131f13ff04e7baf25ac.tar
android_bootable_recovery-0e2d90073940d33484dd8131f13ff04e7baf25ac.tar.gz
android_bootable_recovery-0e2d90073940d33484dd8131f13ff04e7baf25ac.tar.bz2
android_bootable_recovery-0e2d90073940d33484dd8131f13ff04e7baf25ac.tar.lz
android_bootable_recovery-0e2d90073940d33484dd8131f13ff04e7baf25ac.tar.xz
android_bootable_recovery-0e2d90073940d33484dd8131f13ff04e7baf25ac.tar.zst
android_bootable_recovery-0e2d90073940d33484dd8131f13ff04e7baf25ac.zip
Diffstat (limited to '')
-rw-r--r--minui/graphics_drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/graphics_drm.h b/minui/graphics_drm.h
index de9621205..756625b03 100644
--- a/minui/graphics_drm.h
+++ b/minui/graphics_drm.h
@@ -42,7 +42,7 @@ class MinuiBackendDrm : public MinuiBackend {
private:
void DrmDisableCrtc(int drm_fd, drmModeCrtc* crtc);
- void DrmEnableCrtc(int drm_fd, drmModeCrtc* crtc, GRSurfaceDrm* surface);
+ int DrmEnableCrtc(int drm_fd, drmModeCrtc* crtc, GRSurfaceDrm* surface);
GRSurfaceDrm* DrmCreateSurface(int width, int height);
void DrmDestroySurface(GRSurfaceDrm* surface);
void DisableNonMainCrtcs(int fd, drmModeRes* resources, drmModeCrtc* main_crtc);