summaryrefslogtreecommitdiffstats
path: root/video/out/gl_w32.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-26 22:56:13 +0200
committerwm4 <wm4@nowhere>2014-05-26 22:56:13 +0200
commit72489887140cec59da29096b9a2d3451b6bac041 (patch)
treed654e1fed9547e73ca4e2e4ea258586a6e98204d /video/out/gl_w32.c
parentd04ce8a7c230c8deb81fdf2a0c17d70c499ba77e (diff)
downloadmpv-72489887140cec59da29096b9a2d3451b6bac041.tar.bz2
mpv-72489887140cec59da29096b9a2d3451b6bac041.tar.xz
vo_opengl: always dynamically load OpenGL symbols
Don't emit "hard" references to OpenGL functions. Always use the platform specific function to lookup OpenGL functions, such as glXGetProcAddress() with GLX (x11). This actually fixes the build if only Wayland is enabled (e.g. using --disable-gl-x11 on Linux). Note that some sources claim that wglGetProcAddress() (win32) does not return function pointers for OpenGL 1.1 functions (even if they are valid and necessary in OpenGL 3.0). But if that happens, the fallback employed in gl_w32.c/w32gpa() should catch this.
Diffstat (limited to 'video/out/gl_w32.c')
0 files changed, 0 insertions, 0 deletions