summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vb_texmat.c
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2013-05-02 23:38:28 -0400
committerZack Rusin <[email protected]>2013-05-03 07:07:33 -0400
commita232afdbfbaac156e981f55b8bdeb305026cde84 (patch)
tree89708448d7c35a30ebb99628501066c7032539b5 /src/mesa/tnl/t_vb_texmat.c
parent8490d21cbe9cce4ceb5c1908b42672f5160fd013 (diff)
draw/pt: adjust overflow calculations
gallium lies. buffer_size is not actually buffer_size but available size, which is 'buffer_size - buffer_offset' so by adding buffer offset we'd incorrectly compute overflow. Signed-off-by: Zack Rusin <[email protected]> Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/tnl/t_vb_texmat.c')
0 files changed, 0 insertions, 0 deletions