drop obsolete checks for dri3.h

It's always present, no matter whether DRI3 is actually enabled.
No need to care about ancient - pre-DRI3 - Xserver versions.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-07-29 14:43:21 +02:00
committed by Joseph Crowell
parent 52a0b9c04e
commit 7a4c54cd99
2 changed files with 0 additions and 20 deletions

View File

@@ -147,10 +147,6 @@ AC_CHECK_DECL(GBM_BO_USE_FRONT_RENDERING,
[#include <stdlib.h>
#include <gbm.h>])
AC_CHECK_HEADERS([dri3.h], [], [],
[#include <X11/Xmd.h>
#include <xorg-server.h>])
CPPFLAGS="$SAVE_CPPFLAGS"
# Checks for headers/macros for byte swapping

View File

@@ -25,8 +25,6 @@
#include "amdgpu_drv.h"
#ifdef HAVE_DRI3_H
#include "amdgpu_glamor.h"
#include "amdgpu_pixmap.h"
#include "dri3.h"
@@ -241,17 +239,3 @@ amdgpu_dri3_screen_init(ScreenPtr screen)
return TRUE;
}
#else /* !HAVE_DRI3_H */
Bool
amdgpu_dri3_screen_init(ScreenPtr screen)
{
xf86DrvMsg(xf86ScreenToScrn(screen)->scrnIndex, X_INFO,
"Can't initialize DRI3 because dri3.h not available at "
"build time\n");
return FALSE;
}
#endif