shaderutil: Fix detection of shaders
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 24 Nov 2009 02:32:27 +0000 (18:32 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 24 Nov 2009 02:33:50 +0000 (18:33 -0800)
commitda0883114b1dceceff8a38deea1bb870fda40464
tree2f66a362e1cc752743a99936f9a92f77f9a3a922
parenta11750218fa43dcf0d45b960d52497f7700db2a7
shaderutil: Fix detection of shaders

Check for versions >= 2.0 (because some drivers return 3.0), and return
GL_FALSE if shaders are not detected.
progs/util/shaderutil.c