summaryrefslogtreecommitdiffstats
path: root/video/out/gl_header_fixes.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-20 18:53:35 +0100
committerwm4 <wm4@nowhere>2015-02-20 18:53:35 +0100
commit9861abf8ffa4c9e7c4ad9a4f3f667e6f833624a3 (patch)
tree7f9e96d2f01c62402632c21f9ef1c58595b8a760 /video/out/gl_header_fixes.h
parent885c2fff7091e9ea71cad8da56904ead73ca0853 (diff)
downloadmpv-9861abf8ffa4c9e7c4ad9a4f3f667e6f833624a3.tar.bz2
mpv-9861abf8ffa4c9e7c4ad9a4f3f667e6f833624a3.tar.xz
vo_opengl: minor robustness improvement in function loader
Check the scanf() return value, and don't continue if it doesn't find both numbers (can happen with GLES 1.0). Also, some implementations can return NULL from glGetString() if something is "broken".
Diffstat (limited to 'video/out/gl_header_fixes.h')
0 files changed, 0 insertions, 0 deletions