st/wgl: add some mutex checking code
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 10 Nov 2015 21:41:30 +0000 (14:41 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 12 Nov 2015 18:21:25 +0000 (11:21 -0700)
commita1c9feafd592d13f8215e7a535c68a03fd84849e
tree1053a494f58c4a12e9568f7b5e5290958d482154
parent166769fe4bf4042ecb2a54ee5c7b23e3b0cd471d
st/wgl: add some mutex checking code

This would have caught the locking bug that was fixed in the earlier
"st/wgl: fix locking issue in stw_st_framebuffer_present_locked()"
patch.

v2: minor coding style changes by Brian.

Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/state_trackers/wgl/stw_st.c