mesa: Add missing call to _mesa_unlock_debug_state(ctx); v2
authorTom Stellard <thomas.stellard@amd.com>
Wed, 16 Nov 2016 21:21:15 +0000 (21:21 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 17 Nov 2016 18:32:35 +0000 (18:32 +0000)
commit929fcee47e46781c57f2a354ce0a013915c033d1
treec63f376d20b0afaf8c4e94a3352e674e0622dc04
parent9702f9136646acc6981880faa3962a11aab1a603
mesa: Add missing call to _mesa_unlock_debug_state(ctx); v2

cd724208d3e1e3307f84a794f2c1fc83b69ccf8a added a call to
_mesa_lock_debug_state(ctx) but wasn't unlocking the debug state.

This fixes a hang in glsl-fs-loop piglit test with MESA_DEBUG=context.

v2:
  - Remove unrelated changes.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/debug_output.c