Re: [PATCH v2 0/3] MR4781: ddraw: Make sure that sysmem surfaces remain coherent when not locked.
11 Jan
2024
11 Jan
'24
10:36 a.m.
Jan Sikorski (@jsikorski) commented about dlls/ddraw/surface.c:
src_impl ? &src_impl->IDirectDrawSurface_iface : NULL, flags); }
+/* Emperor: Rise of the Middle Kingdom accesses the map pointer outside of + * Lock()/Unlock(), and expects those updates to be propagated by a Blt(). + * It also blits to the surface, and color-fills it. + * + * This function is called after a blit or color-fill that might update the GPU
I'm a little confused because the comment says it's called after a blit or color fill, but in `ddraw_surface_blt` it's apparently only called after a color fill, and not after a blit. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4781#note_57154
784
Age (days ago)
784
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jan Sikorski (@jsikorski)