progs/wgl: Get wglShareLists working in wglthreads.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 17 Jun 2009 13:48:25 +0000 (14:48 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 17 Jun 2009 14:23:25 +0000 (15:23 +0100)
commit557421b6de9d8cba7e71828ec3a60a344fff9e88
tree809cb9f4c71a13dac58c64392f9a57eb4ad085e8
parent25f0c33bb3509958a532bdd72b3945c1d5d1cad5
progs/wgl: Get wglShareLists working in wglthreads.

wglShareLists is a little picky -- it seems to check if it has exclusive
access to a lock, and fails if it doesn't.

This allows the texture to be shared with all windows.
progs/wgl/wglthreads/wglthreads.c