gl_common: add OpenGL 3.x context creation
commit349b2e1977176b70bf88534c21d0475f7441806a
authorwm4 <wm4@mplayer2.org>
Fri, 30 Mar 2012 22:33:53 +0000 (31 00:33 +0200)
committerUoti Urpala <uau@mplayer2.org>
Thu, 6 Sep 2012 16:30:31 +0000 (6 19:30 +0300)
treefcb6e8e59554e0a6021db3f385db6459dbb37760
parent285099d9e892359e85db23f49c1068b6fb0283ed
gl_common: add OpenGL 3.x context creation

Also add a bunch of GL functions to the function loader, which will be
needed by vo_gl3. Remove some unused legacy GL functions from the
loader.

Use the proper name for glGetProgramivARB. glGetProgramiv is a different
and incompatible function. The ARB variant is used for ARB shaders,
while the proper one is for GLSL.
libvo/gl_common.c
libvo/gl_common.h