summaryrefslogtreecommitdiffstats
path: root/docs/MESA_multithread_makecurrent.spec
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-19 10:20:24 -0700
committerBrian Paul <[email protected]>2012-01-19 15:12:14 -0700
commitfdae0eaf222f271bfbc7e71d8561eb8b90685ae5 (patch)
tree3b74171540e69aa6fe4135bbc25d7991b704e8ae /docs/MESA_multithread_makecurrent.spec
parentf0ea46790f8f4df9a39b0cfab5c5f1bf02c136fc (diff)
st/mesa: copy num_immediates field when copying the immediates array
Two assignments to num_immediates were missing in get_pixel_transfer_visitor() and get_bitmap_visitor(). The uninitialized value led to valgrind errors and crashes in some cases. Added new assertions to catch future problems in this area. Also changed num_immediates to unsigned to avoid signed/unsigned comparison warnings. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'docs/MESA_multithread_makecurrent.spec')
0 files changed, 0 insertions, 0 deletions