diff options
author | Brian Paul <[email protected]> | 2013-01-17 08:59:13 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-01-17 09:38:54 -0700 |
commit | 57ddf1227fffbfda52c9310f9092c036ad4558b6 (patch) | |
tree | 69d4adfa6a82b171d65ed541e8ad450f981e02c0 /src/mesa/swrast/s_aalinetemp.h | |
parent | 51efb081f7cc1c777d581c5dad5819a98f7f35cb (diff) |
swrast: fix assorted bugs in software blit code
1. The loop over dest buffers in blit_linear() needed a null pointer
check. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=59499
2. The code to grab the drawRb's format needs to be inside the drawing loop.
3. An equality test was using = instead of == thus messing up a
renderbuffer attachment texture pointer. This lead to memory
corruption and a crash at exit.
Finally, fix a capitalization error NumDrawBuffers -> numDrawBuffers
and change type to unsigned to fix signed/unsigned comparison warnings.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_aalinetemp.h')
0 files changed, 0 insertions, 0 deletions