how to know which shader version is?

I have some shaders that I’d like to know which version are they using of vertex and pixel shader how can I know this? The guys who made the shaders were not kind enough to write this on a comment so what can I do to know if its 2.0 or 3.0 or older?

hi,

I think glgetstring(gl_xxx) is what you are looking for.

cheers Boim