[Bug 9332] Lego start wars crashes

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Aug 16 02:36:59 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=9332





--- Comment #3 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk>  2007-08-16 02:36:59 ---
Here'a a hack to get around the bug; might help to clearify things:

diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 0727aee..7edbf57 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -1,7 +1,7 @@
 /*
  * Context and render target management in wined3d
  *
- * Copyright 2007 Stefan D<F6>singer for CodeWeavers
+ * Copyright 2007 Stefan D�singer for CodeWeavers
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -817,7 +817,7 @@ void ActivateContext(IWineD3DDeviceImpl *This,
IWineD3DSurface *target, ContextU
     TRACE("(%p): Selecting context for render target %p, thread %d\n", This,
target, tid);

     ENTER_GL();
-    if(This->lastActiveRenderTarget != target || tid != This->lastThread) {
+    if(!(This->lastActiveRenderTarget != target || tid != This->lastThread)) {
         context = FindContext(This, target, tid);
         This->lastActiveRenderTarget = target;
         This->lastThread = tid;
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list