summaryrefslogtreecommitdiffstats
path: root/src/glx/glx_pbuffer.c
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2013-05-30 13:48:36 -0400
committerZack Rusin <[email protected]>2013-05-30 15:34:19 -0400
commit978d5ed06bfc3d87a4b1ca1981caeeaa88de2790 (patch)
tree6466672fb18e70e5c0a43bea818c3388a5fb6b26 /src/glx/glx_pbuffer.c
parent0a70fdfb3ffe2b03c037c64076fe4c6d3e8a0fe5 (diff)
draw: fix vs/fs input/output mismatches
When we've changed draw_find_shader_output to return -1 instead of 0 on non found attribs we broke the default behavior of draw, which was to always redirect those to the first (0th) slot. To preserve that behavior if draw_emit_vertex_attr notices a mismatched vertex attrib, it just redirects it to the first slot (instead of trying to use negative index in an array). Signed-off-by: Zack Rusin <[email protected]> Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/glx/glx_pbuffer.c')
0 files changed, 0 insertions, 0 deletions