wgl: Fix window resizing in multithread applications.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 17 Jun 2009 20:28:18 +0000 (21:28 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 18 Jun 2009 13:54:07 +0000 (14:54 +0100)
commit42882897c67f6c74e67e120e946a95929e6c2065
treecb6a5196c4d8cf7744d81f6292fc0016010b641a
parent4b4855c717e839a9ee6353604558543473c020c9
wgl: Fix window resizing in multithread applications.

In multithreading stw_call_window_proc can be called by a thread other
than the thread where the context is bound.
src/gallium/state_trackers/wgl/shared/stw_context.c
src/gallium/state_trackers/wgl/shared/stw_device.c
src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
src/gallium/state_trackers/wgl/shared/stw_framebuffer.h