summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_config.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-07-09 20:35:44 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-03 11:49:19 -0400
commit049b0bb0c73bd80f11016acd98898e2ccd695233 (patch)
treee00b3c0b1e24b83e319aa9ea743fcd1a12ce5af4 /pts-core/functions/pts-functions_config.php
parentd1859e3ea218e4a805f3b9434426cefc624b34e0 (diff)
downloadphoronix-test-suite-upstream-049b0bb0c73bd80f11016acd98898e2ccd695233.tar.gz
phoronix-test-suite-upstream-049b0bb0c73bd80f11016acd98898e2ccd695233.tar.xz
phoronix-test-suite-upstream-049b0bb0c73bd80f11016acd98898e2ccd695233.zip
Add the false IS_*_GRAPHICS to pts-functions_config
Diffstat (limited to 'pts-core/functions/pts-functions_config.php')
-rw-r--r--pts-core/functions/pts-functions_config.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions_config.php b/pts-core/functions/pts-functions_config.php
index f86f44d..62de9f6 100644
--- a/pts-core/functions/pts-functions_config.php
+++ b/pts-core/functions/pts-functions_config.php
@@ -47,6 +47,13 @@ function pts_extended_init()
define("IS_ATI_GRAPHICS", true);
else if(strpos($opengl_driver, "Mesa") !== FALSE)
define("IS_MESA_GRAPHICS", true);
+
+ if(!defined("IS_NVIDIA_GRAPHICS"))
+ define("IS_NVIDIA_GRAPHICS", false);
+ if(!defined("IS_ATI_GRAPHICS"))
+ define("IS_ATI_GRAPHICS", false);
+ if(!defined("IS_MESA_GRAPHICS"))
+ define("IS_MESA_GRAPHICS", false);
}
function pts_user_config_init($UserName = NULL, $UploadKey = NULL, $BatchOptions = NULL)
{