summaryrefslogtreecommitdiffstats
path: root/pnm_loader.c
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2012-05-14 16:28:43 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2012-05-14 16:28:43 +0200
commit4a2bd440dd71faf6852d3653de02fc512ce8244f (patch)
treefb750113b361e25272020ee22cc48332aa418c03 /pnm_loader.c
parent5fe14d5bf11a22025914a1948770e0b720a8d46f (diff)
downloadmpv-4a2bd440dd71faf6852d3653de02fc512ce8244f.tar.bz2
mpv-4a2bd440dd71faf6852d3653de02fc512ce8244f.tar.xz
cocoa: handle failure on pixel format creation
This didn't make any difference on with OpenGL 2.1, but with the introduction of OpenGL3.2 it's possible for the pixel format creation to fail (if OpenGL3.2 is not supported). This code handles the failure case accordingly.
Diffstat (limited to 'pnm_loader.c')
0 files changed, 0 insertions, 0 deletions