[Bug 7584] Aliens versus Predator EndScene rendering bug

Wine Bugs wine-bugs at winehq.org
Sat Mar 3 17:19:01 CST 2007


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





------- Additional Comments From a.hurst at shef.ac.uk  2007-03-03 17:19 -------
This fixes it!



>From 5608349782b347bee66f32899269751284ff7804 Mon Sep 17 00:00:00 2001
From: ahurst <ahurst at hurstmachine.(none)>
Date: Sat, 3 Mar 2007 23:17:48 +0000
Subject: test

---
 dlls/wined3d/device.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 623d525..96c6f4d 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -4563,7 +4563,8 @@ static HRESULT WINAPI
IWineD3DDeviceImpl_EndScene(IWineD3DDevice *iface) {
 
     if(!This->inScene) {
         TRACE("Not in scene, returning WINED3DERR_INVALIDCALL\n");
-        return WINED3DERR_INVALIDCALL;
+        return WINED3D_OK;
+        //return WINED3DERR_INVALIDCALL;
     }
 
     ENTER_GL();
-- 
1.4.4.4


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list