diff options
-rw-r--r-- | src/amdgpu_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amdgpu_video.c b/src/amdgpu_video.c index 9cf8ea1..9ce8267 100644 --- a/src/amdgpu_video.c +++ b/src/amdgpu_video.c @@ -126,7 +126,7 @@ amdgpu_crtc_covering_box(ScreenPtr pScreen, BoxPtr box, Bool screen_is_xf86_hint primary_output = RRFirstOutput(pScreen); if (primary_output && primary_output->crtc) - primary_crtc = primary_output->crtc->devPrivate; + primary_crtc = primary_output->crtc; for (c = 0; c < pScrPriv->numCrtcs; c++) { crtc = pScrPriv->crtcs[c]; |