Henri Verbeet : wined3d: Don't reuse contexts marked for destruction.
Alexandre Julliard
julliard at winehq.org
Thu Jul 23 09:59:41 CDT 2009
Module: wine
Branch: master
Commit: 57ccdb7e368329cf7e64b4619802becb95115939
URL: http://source.winehq.org/git/wine.git/?a=commit;h=57ccdb7e368329cf7e64b4619802becb95115939
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Jul 23 10:54:32 2009 +0200
wined3d: Don't reuse contexts marked for destruction.
---
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
More information about the wine-cvs
mailing list