dri/common: Tokenize driParseDebugString() argument before matching debug flags.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 3 Sep 2015 12:20:04 +0000 (15:20 +0300)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 4 Sep 2015 10:49:36 +0000 (12:49 +0200)
commit6cf4142db88796ff66a73a36530467101533fdb6
tree4b36576ea9d35f5ecdab302ec4c97b9fd107b2bb
parent3d4f75506c9233ca4039021024c4b918cc974f86
dri/common: Tokenize driParseDebugString() argument before matching debug flags.

Fixes debug string parsing when one of the supported flags is a
substring of another.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/common/utils.c