19 lines
860 B
Diff
19 lines
860 B
Diff
|
diff -Nur VirtualBox-4.0.8_OSE.orig//src/VBox/Additions/common/crOpenGL/fakedri_drv.c VirtualBox-4.0.8_OSE/src/VBox/Additions/common/crOpenGL/fakedri_drv.c
|
||
|
--- VirtualBox-4.0.8_OSE.orig//src/VBox/Additions/common/crOpenGL/fakedri_drv.c 2011-05-18 04:28:14.545495222 -0700
|
||
|
+++ VirtualBox-4.0.8_OSE/src/VBox/Additions/common/crOpenGL/fakedri_drv.c 2011-05-18 04:29:57.945499707 -0700
|
||
|
@@ -36,13 +36,8 @@
|
||
|
//#define DEBUG_DRI_CALLS
|
||
|
|
||
|
//@todo this could be different...
|
||
|
-#ifdef RT_ARCH_AMD64
|
||
|
-# define DRI_DEFAULT_DRIVER_DIR "/usr/lib64/dri:/usr/lib/dri"
|
||
|
+# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/xorg/modules/dri"
|
||
|
# define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/"
|
||
|
-#else
|
||
|
-# define DRI_DEFAULT_DRIVER_DIR "/usr/lib/dri"
|
||
|
-# define DRI_XORG_DRV_DIR "/usr/lib/xorg/modules/drivers/"
|
||
|
-#endif
|
||
|
|
||
|
#ifdef DEBUG_DRI_CALLS
|
||
|
#define SWDRI_SHOWNAME(pext, func) \
|