summarylogtreecommitdiffstats
path: root/002-dri-driver-path.patch
blob: 26b7f3f65f444477bd835dde0925a3f70007ad5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff --git a/src/VBox/Additions/common/crOpenGL/fakedri_drv.c b/src/VBox/Additions/common/crOpenGL/fakedri_drv.c
index 92b4ffc..1a1c467 100644
--- a/src/VBox/Additions/common/crOpenGL/fakedri_drv.c
+++ b/src/VBox/Additions/common/crOpenGL/fakedri_drv.c
@@ -56,24 +56,8 @@ typedef enum {
 
 //#define DEBUG_DRI_CALLS
 
-/// @todo this could be different...
-#ifdef RT_ARCH_AMD64
-# ifdef RT_OS_FREEBSD
-#  define DRI_DEFAULT_DRIVER_DIR "/usr/local/lib/dri"
-#  define DRI_XORG_DRV_DIR "/usr/local/lib/xorg/modules/drivers/"
-# else
-#  define DRI_DEFAULT_DRIVER_DIR "/usr/lib64/dri:/usr/lib/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/xorg/modules/dri"
-#  define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/"
-# endif
-#else
-# ifdef RT_OS_FREEBSD
-#  define DRI_DEFAULT_DRIVER_DIR "/usr/local/lib/dri"
-#  define DRI_XORG_DRV_DIR "/usr/local/lib/xorg/modules/drivers/"
-# else
-#  define DRI_DEFAULT_DRIVER_DIR "/usr/lib/dri:/usr/lib/i386-linux-gnu/dri:/usr/lib/xorg/modules/dri"
+#  define DRI_DEFAULT_DRIVER_DIR "/usr/lib/xorg/modules/dri"
 #  define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/"
-# endif
-#endif
 
 #ifdef DEBUG_DRI_CALLS
  #define SWDRI_SHOWNAME(pext, func) \