summaryrefslogtreecommitdiffstats
path: root/minui/graphics_drm.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-06-06 02:10:23 +0200
committerTianjie Xu <xunchang@google.com>2018-06-06 02:10:23 +0200
commitccf00a2007a363f5847636f7b53c0c89311e09d4 (patch)
tree64dd5f526e92c55a271ce2749b44c61822671018 /minui/graphics_drm.h
parentMerge "updater_sample: validate state only once" (diff)
downloadandroid_bootable_recovery-ccf00a2007a363f5847636f7b53c0c89311e09d4.tar
android_bootable_recovery-ccf00a2007a363f5847636f7b53c0c89311e09d4.tar.gz
android_bootable_recovery-ccf00a2007a363f5847636f7b53c0c89311e09d4.tar.bz2
android_bootable_recovery-ccf00a2007a363f5847636f7b53c0c89311e09d4.tar.lz
android_bootable_recovery-ccf00a2007a363f5847636f7b53c0c89311e09d4.tar.xz
android_bootable_recovery-ccf00a2007a363f5847636f7b53c0c89311e09d4.tar.zst
android_bootable_recovery-ccf00a2007a363f5847636f7b53c0c89311e09d4.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);