diff --git a/indra/newview/llglsandbox.cpp b/indra/newview/llglsandbox.cpp
index 08535adfb00a450839c0f6c4ef64c59087e53bf3..903f64efc3681159c7138248fa4baff1704c6eb8 100755
--- a/indra/newview/llglsandbox.cpp
+++ b/indra/newview/llglsandbox.cpp
@@ -881,7 +881,7 @@ void LLViewerObjectList::renderObjectBeacons()
 
 F32 gpu_benchmark()
 {
-	if (!gGLManager.mHasShaderObjects)
+	if (!gGLManager.mHasShaderObjects || !gGLManager.mHasTimerQuery)
 	{ //don't bother benchmarking the fixed function
 		return -1.f;
 	}