mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 18:54:38 +00:00
modesetting/dri2: Remove always true ifdef
GLAMOR_HAS_GBM is ifdefed through the whole file, so checking for it again is redundant. Signed-off-by: Yusuf Khan <yusisamerican@gmail.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1554>
This commit is contained in:
@@ -550,10 +550,8 @@ can_exchange(ScrnInfoPtr scrn, DrawablePtr draw,
|
||||
drmmode_crtc_private_ptr drmmode_crtc = config->crtc[i]->driver_private;
|
||||
|
||||
/* Don't do pageflipping if CRTCs are rotated. */
|
||||
#ifdef GLAMOR_HAS_GBM
|
||||
if (drmmode_crtc->rotate_bo.gbm)
|
||||
return FALSE;
|
||||
#endif
|
||||
|
||||
if (xf86_crtc_on(config->crtc[i]))
|
||||
num_crtcs_on++;
|
||||
|
||||
Reference in New Issue
Block a user