diff options
author | Brian Paul <[email protected]> | 2017-04-24 12:58:22 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-04-26 11:38:00 -0600 |
commit | a36a1ea80acfd28a36d89b2bfa914ab48768048d (patch) | |
tree | e510e30595a4cab13fba5be774d1ec5b03effba4 /src/gallium/auxiliary/translate | |
parent | 495840658e437117bbae298e6e72e057b333e426 (diff) |
gallium/util: reduce util_snprintf() calls in debug_flush_might_flush_cb()
We only need to construct the debug message if the mapped_sync flag is set.
This should make the function faster since the flag is usually false.
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/translate')
0 files changed, 0 insertions, 0 deletions