31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
|
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) \
|