[Bug 22356] Jedi Knight: Dark Forces II - weapons flicker

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 27 16:11:31 CDT 2010


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





--- Comment #9 from Roderick Colenbrander <thunderbird2k at gmail.com>  2010-04-27 16:11:30 ---
The patch fixes the flickering gun issue on my Geforce GTS360M system which
appears if you run the game in 8-bit mode (the no 3d acceleration mode).
Perhaps a different backend is entered on your system which prevents this issue
from occurring. What gpu are you using?

You could try to add the following line after 'd3dfmt_convert_surface' (approx
4598):
     This->Flags |= SFLAG_CONVERTED;
So you will get:
                   return WINED3DERR_OUTOFVIDEOMEMORY;
                }
                d3dfmt_convert_surface(This->resource.allocatedMemory, mem,
pitch, width, height, outpitch, convert, This);
                This->Flags |= SFLAG_CONVERTED;
            } else {
                mem = This->resource.allocatedMemory;
            }

Hopefully this helps there. I will submit the current fix anyway since it is
correct for one class of systems.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list