diff options
Diffstat (limited to 'src/amdgpu_present.c')
-rw-r--r-- | src/amdgpu_present.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amdgpu_present.c b/src/amdgpu_present.c index 86b095c..cf11d2b 100644 --- a/src/amdgpu_present.c +++ b/src/amdgpu_present.c @@ -234,7 +234,7 @@ amdgpu_present_check_unflip(ScrnInfoPtr scrn) continue; if (!drmmode_crtc || drmmode_crtc->rotate.bo || - drmmode_crtc->scanout[0].bo) + drmmode_crtc->scanout[drmmode_crtc->scanout_id].bo) return FALSE; if (drmmode_crtc->pending_dpms_mode == DPMSModeOn) |