diff options
author | Andreas Fänger <[email protected]> | 2014-01-07 03:10:00 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-01-07 08:03:49 -0700 |
commit | 2a0fb946e147f5482c93702fbf46ffdf5208f57c (patch) | |
tree | 7147d8e48648b9f86a540910a6cf474960ae2f85 /src/mesa/swrast/s_linetemp.h | |
parent | aa4e2243a253d981e5f04426d509cd8257d140c4 (diff) |
swrast: fix delayed texel buffer allocation regression for OpenMP
Commit 9119269ca14ed42b51c7d8e2e662500311b29fa3 moved the texel
buffer allocation to _swrast_texture_span(), however, when compiled
with OpenMP support this code already runs multi-threaded so a
critical section is required to prevent multiple allocations and
rendering errors.
Cc: "10.0" <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_linetemp.h')
0 files changed, 0 insertions, 0 deletions