diff options
author | Roland Scheidegger <[email protected]> | 2018-02-28 04:28:29 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2018-02-28 18:22:28 +0100 |
commit | 26103487b54a1c1121132cc040927619cce45262 (patch) | |
tree | ea2b5ed8800653414fe98d813d97d461829ea7b3 /src/util/string_buffer.c | |
parent | b923f21eaadb77ee70e1bf4c5e2f9aee2a5fa205 (diff) |
softpipe: don't iterate through PIPE_MAX_SHADER_SAMPLER_VIEWS
We were setting view to NULL if the iteration was larger than i.
But in fact if the view is NULL the code did nothing anyway...
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/util/string_buffer.c')
0 files changed, 0 insertions, 0 deletions