summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-03-18 19:22:49 +0100
committerwm4 <wm4@mplayer2.org>2012-03-31 02:58:52 +0200
commit35c29bdd52c04098f928fd7151a7f2e94337bea0 (patch)
treebc0143fa89aa91664a365413fd026be4ff028ae8 /configure
parent59125ce71e378ae169eaecc8ac04d72bda3d130d (diff)
downloadmpv-35c29bdd52c04098f928fd7151a7f2e94337bea0.tar.bz2
mpv-35c29bdd52c04098f928fd7151a7f2e94337bea0.tar.xz
gl_common: slightly change win32 GL 3 context creation
The code used OpenGL 3 specific functions for querying the extension string when the actual GL 3 context wasn't created yet. This appears to work fine on nVidia, but could break otherwise. Remove the offending getFunctions call and retrieve the needed function pointer manually. (This way the wglCreateContextAttribsARB function pointer can be removed from struct GL too.) (Amusingly exposes a wine bug; they made the same mistake.) Explicitly check the extension string whether the function is available, although this probably doesn't matter in practice. Also retrieve bit depth information on win32.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions