summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-init.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-19 09:55:55 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-19 09:55:55 -0500
commit7a91e3ac520b95fa4bcfb432565c856e0ea97aac (patch)
tree3cf390cbc2493c66c33d2bd1dfd5ac48b88fce2d /pts-core/functions/pts-init.php
parentdb82a81dcbe3a820951760003aac99b7ffcd486e (diff)
downloadphoronix-test-suite-upstream-7a91e3ac520b95fa4bcfb432565c856e0ea97aac.tar.gz
phoronix-test-suite-upstream-7a91e3ac520b95fa4bcfb432565c856e0ea97aac.tar.xz
phoronix-test-suite-upstream-7a91e3ac520b95fa4bcfb432565c856e0ea97aac.zip
pts-core: Fix graphics constant warnings generated in
pts_extended_init()
Diffstat (limited to 'pts-core/functions/pts-init.php')
-rw-r--r--pts-core/functions/pts-init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-init.php b/pts-core/functions/pts-init.php
index 7f0818e..1a74517 100644
--- a/pts-core/functions/pts-init.php
+++ b/pts-core/functions/pts-init.php
@@ -158,7 +158,7 @@ function pts_extended_init()
// OpenGL / graphics detection
$graphics_detection = array("NVIDIA", array("ATI", "fglrx"), "Mesa");
- $opengl_driver = sw_os_opengl() . " " . sw_xorg_ddx_driver_info();
+ $opengl_driver = sw_os_opengl() . " " . sw_xorg_dri_driver();
$found_gpu_match = false;
foreach($graphics_detection as $gpu_check)