aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/nouveau/nv20_driver.h
diff options
context:
space:
mode:
authorMark Janes <[email protected]>2018-12-06 16:35:42 -0800
committerMark Janes <[email protected]>2019-03-14 12:56:19 -0700
commiteb1a869a5d19bfd8a0d4099afd58f180997e4663 (patch)
treec323c57e9f17b0778dbd6ffdaba8a745d82ae09d /src/mesa/drivers/dri/nouveau/nv20_driver.h
parent162286eb7529d469f64b83e11ff896ac3549add6 (diff)
mesa: properly report the length of truncated log messages
_mesa_log_msg must provide the length of the string passed into the KHR_debug api. When the string formatted by _mesa_gl_vdebugf exceeds MAX_DEBUG_MESSAGE_LENGTH, the length is incorrectly set to the number of characters that would have been written if enough space had been available. Fixes: 30256805784450b8bb9d4dabfb56226271ca9d24 ("mesa: Add support for GL_ARB_debug_output with dynamic ID allocation.") Reviewed-by: Erik Faye-Lund <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nv20_driver.h')
0 files changed, 0 insertions, 0 deletions