From 95dcac09071388f4d13b34e8ecd45a8f74839606 Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Thu, 12 Jul 2007 04:10:31 +0000 Subject: [PATCH] Checked in Mesa 6 generalization --- panda/src/glstuff/glGraphicsStateGuardian_src.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx index 77c0b9a85c..15d1cdccdb 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx +++ b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx @@ -572,7 +572,7 @@ reset() { _supports_multitexture = false; _supports_vertex_arrays = true; - if (_gl_version == "1.2 (1.5 Mesa 6.4.2)") { + if (_gl_version.find(" Mesa 6.",0) >= 0) { // We suspect this particular version of Mesa, which appears to // be installed by default on every Linux implementation, has // real problems rendering with vertex arrays. Therefore,