diff options
author | wm4 <wm4@nowhere> | 2015-01-21 20:56:34 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-21 21:06:56 +0100 |
commit | 39231e5dfd492243faaeb63ca6ebe6263879d54e (patch) | |
tree | 0b5c9da9585dcdcc95eac8e50ec12526957547b3 /video/out/gl_x11egl.c | |
parent | e34957940b5012dba23616469fb5aec56fcde5ee (diff) | |
download | mpv-39231e5dfd492243faaeb63ca6ebe6263879d54e.tar.bz2 mpv-39231e5dfd492243faaeb63ca6ebe6263879d54e.tar.xz |
vo_direct3d: disable shaders if unavailable
Apparently, extremely crappy graphics drivers don't allow you to use
shaders. Simply disable use of shaders if this happens, and use the
"old" method instead.
One unexpectedly tricky thing is that you need a d3d_device to create
a shader, which in turn requires a window, so the initialization order
changes.
Diffstat (limited to 'video/out/gl_x11egl.c')
0 files changed, 0 insertions, 0 deletions