diff options
author | Niklas Haas <git@nand.wakku.to> | 2016-05-27 16:51:01 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-27 17:03:00 +0200 |
commit | f8df0528b5b43bb148ceeb16732c96254e48c43e (patch) | |
tree | ddef0b6facebb66747113e0b750c3a69660730f8 /ta/ta.c | |
parent | 72e94941c9f417a7fd7f58955bc46a923b8fa02f (diff) | |
download | mpv-f8df0528b5b43bb148ceeb16732c96254e48c43e.tar.bz2 mpv-f8df0528b5b43bb148ceeb16732c96254e48c43e.tar.xz |
vo_opengl: skip junk before first user shader pass
A lot of real-world shaders start off with comments explaining the usage
or license, generating lots of "empty" passes. This simply change allows
us to skip them, which silences the warning spam and prevents us from
having to store and copy around these empty passes.
It also adds a more useful failure check: Attempting to use a user
shader that doesn't define any passes at all.
Diffstat (limited to 'ta/ta.c')
0 files changed, 0 insertions, 0 deletions