mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 13:20:14 +01:00
st/dri: remove #ifdef DRM_CAP_PRIME guard
Required for libdrm 2.4.37 and earlier. Both scons and automake require version 2.4.38 now so that guard is not longer needed. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
6fbd00e43a
commit
adad8fb2e9
1 changed files with 0 additions and 2 deletions
|
|
@ -1053,7 +1053,6 @@ dri2_init_screen(__DRIscreen * sPriv)
|
|||
screen->default_throttle_frames = throttle_ret->val.val_int;
|
||||
}
|
||||
|
||||
#ifdef DRM_CAP_PRIME /* Old libdrm? */
|
||||
if (dmabuf_ret && dmabuf_ret->val.val_bool) {
|
||||
uint64_t cap;
|
||||
|
||||
|
|
@ -1064,7 +1063,6 @@ dri2_init_screen(__DRIscreen * sPriv)
|
|||
dri2ImageExtension.createImageFromFds = dri2_from_fds;
|
||||
}
|
||||
}
|
||||
#endif /* DRM_CAP_PRIME */
|
||||
|
||||
sPriv->extensions = dri_screen_extensions;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue