diff options
author | wm4 <wm4@mplayer2.org> | 2011-11-08 01:34:40 +0100 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-11-25 23:59:49 +0200 |
commit | b65ee1f5ac0b8634b6b79c81deeea86ef39c4069 (patch) | |
tree | 073155324e285c764ae07532f5ab34a0bb25e5bc /libvo/vo_direct3d.c | |
parent | 8d6fc26bb982c5ecb7dbe4c20d51dec47f82abbf (diff) | |
download | mpv-b65ee1f5ac0b8634b6b79c81deeea86ef39c4069.tar.bz2 mpv-b65ee1f5ac0b8634b6b79c81deeea86ef39c4069.tar.xz |
vo_gl: make shader code generation easier to deal with
The shader code was generated from very long strings with lots of
format specifiers with snprintf calls. It was almost impossible to
quickly tell what variables were inserted where in the shader. Make
this more readable by implementing a kind of simple variable
substitution, which allows replacing the format specifiers in the code
templates with with variable names.
Diffstat (limited to 'libvo/vo_direct3d.c')
0 files changed, 0 insertions, 0 deletions