diff options
author | wm4 <wm4@nowhere> | 2013-03-28 23:43:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-03-28 23:52:40 +0100 |
commit | b617863c247c4a509c118557afa030df16eca118 (patch) | |
tree | 46d0d1a3c6ba5897e5679d18e960cd1f69d2f957 /video/out/gl_lcms.c | |
parent | 5d8b50bda8184b5fe5206cd9349666764a590af9 (diff) | |
download | mpv-b617863c247c4a509c118557afa030df16eca118.tar.bz2 mpv-b617863c247c4a509c118557afa030df16eca118.tar.xz |
gl_video: actually fix shader compilation on OSX
The previous attempt was missing some code paths, so there were still
shaders generated that triggered the shader compilation error. Fix it
instead by special handling USE_CONV in the shader.
By the way, the shader compiler did not accept:
#if defined(USE_CONV) && (USE_CONV == ...)
In my opinion this should be perfectly fine, but it gives the same
error as before. So test USE_CONV separately with #ifndef.
Diffstat (limited to 'video/out/gl_lcms.c')
0 files changed, 0 insertions, 0 deletions