[PATCH 1/6] wined3d: Don't reuse contexts marked for destruction.
Henri Verbeet
hverbeet at codeweavers.com
Thu Jul 23 03:54:32 CDT 2009
---
dlls/wined3d/context.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index d82d2dc..02159fb 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -1609,6 +1609,8 @@ static inline WineD3DContext *FindContext(IWineD3DDeviceImpl *This, IWineD3DSurf
const struct GlPixelFormatDesc *old, *new;
struct WineD3DContext *context;
+ if (current_context && current_context->destroyed) current_context = NULL;
+
if (!target)
{
if (current_context
--
1.6.0.6
More information about the wine-patches
mailing list