[Bug 27534] Call of Duty 4 MW: Graphical glitches when shooting

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Aug 6 17:48:34 CDT 2011


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

--- Comment #36 from Wylda <wylda at volny.cz> 2011-08-06 17:48:33 CDT ---
>
> Can you modify my patch to call wglFinish unconditionally before mapping? Maybe
> there is also a problem with regular buffer maps. This is what I suspect is
> going on on fglrx, maybe the nvidia bug extends beyond INVALIDATE_BUFFER_BIT.

On top of 1.3.26 i applied:

@@ -1028,6 +1028,9 @@
                 if (gl_info->supported[ARB_MAP_BUFFER_RANGE])
                 {
                     GLbitfield mapflags = buffer_gl_map_flags(flags);
+                    LEAVE_GL();
+                    wglFinish();
+                    ENTER_GL();
                     buffer->resource.allocatedMemory =
GL_EXTCALL(glMapBufferRange(buffer->buffer_type_hint,

and run:
 * wine iw3sp.exe +set sys_smp_allowed 1

CoD still shows the problem in both StrictDrawOrdering cases (enabled or
disabled).

-- 
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