summaryrefslogtreecommitdiff
path: root/src/amdgpu_present.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/amdgpu_present.c')
-rw-r--r--src/amdgpu_present.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/amdgpu_present.c b/src/amdgpu_present.c
index c11a807..67b59b7 100644
--- a/src/amdgpu_present.c
+++ b/src/amdgpu_present.c
@@ -77,8 +77,7 @@ amdgpu_present_get_crtc(WindowPtr window)
window->drawable.y,
window->drawable.y + window->drawable.height);
- /* Make sure the CRTC is valid and this is the real front buffer */
- if (crtc != NULL && !crtc->rotatedData)
+ if (crtc)
randr_crtc = crtc->randr_crtc;
return randr_crtc;