gl_common: minor cleanup/refactor
commit161faf8514edf82bdea63d457fc0cf24cff586bb
authorwm4 <wm4@mplayer2.org>
Fri, 30 Mar 2012 23:56:57 +0000 (31 01:56 +0200)
committerUoti Urpala <uau@mplayer2.org>
Mon, 10 Sep 2012 11:14:00 +0000 (10 14:14 +0300)
tree0cee34e9dc2d95aeffa4f00784efc85d1a13015a
parent60afd5fa175f8a3e2a2baea18c32dcf7558bd576
gl_common: minor cleanup/refactor

Remove all platform/GUI specific includes from gl_common.h. Get rid of
the ugly union in MPGLContext. Use function pointers instead of an
ifdef ridden switch statement in uninit_mpglcontext(). Always include
glext.h, not only on Windows.

None of this should actually change any functionality.
libvo/gl_common.c
libvo/gl_common.h