wined3d: Keep better track of where we're using wined3d contexts.
commiteeb54b992253b28430c1b902f575c7a09d4cab71
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 28 Oct 2009 10:00:11 +0000 (28 11:00 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 28 Oct 2009 10:15:19 +0000 (28 11:15 +0100)
tree90cf5c7887ed6e420f34782b5bcf2ed4dd4010d6
parent401173ffde4471f93ce0cc78c79367e0a39f356a
wined3d: Keep better track of where we're using wined3d contexts.

The idea here is that we can restore the thread's current GL context on
context_release() if it doesn't correspond to the current wined3d context on
context_acquire().
14 files changed:
dlls/wined3d/arb_program_shader.c
dlls/wined3d/basetexture.c
dlls/wined3d/buffer.c
dlls/wined3d/context.c
dlls/wined3d/cubetexture.c
dlls/wined3d/device.c
dlls/wined3d/drawprim.c
dlls/wined3d/glsl_shader.c
dlls/wined3d/query.c
dlls/wined3d/surface.c
dlls/wined3d/swapchain.c
dlls/wined3d/texture.c
dlls/wined3d/volumetexture.c
dlls/wined3d/wined3d_private.h