   Detecting graphics card/shader version
  Hello!How can I detect the graphics card (whether it's a NVIDIA or another card) and the supported GLSL shader language (2 vs. 3)?thanks,   
  To get version of the OpenGL you can call glGetString(GL_VERSION). To determine if you have NVIDIA or ATI you can use glGetString(GL_VENDOR). To get more info about card you have you can call glGetString(GL_RENDERER). It will return name of the card and som info about the drivers (eg. on my R9600 it returns "RADEON 9600 x86/MMX/3DNow!/SSE2").To determine version of GLSL your drivers support you have to call glGetString(GL_SHADING_LANGUAGE_VERSION). More info can be found in official docs  for GLSL and GL_ARB_shading_language_100 extension.   ;  thanks!   