On Wed, 24 Nov 2021 at 04:17, Zebediah Figura zfigura@codeweavers.com wrote:
@@ -2769,7 +2769,7 @@ static void flush_bo_ranges(struct wined3d_context_gl *context_gl, const struct for (i = 0; i < range_count; ++i) { GL_EXTCALL(glFlushMappedBufferRangeAPPLE(bo->binding,
(uintptr_t)data->addr + ranges[i].offset, ranges[i].size));
bo->b.buffer_offset + (uintptr_t)data->addr + ranges[i].offset, ranges[i].size));
I'm not sure this change makes sense on its own. Whatever we do here needs to be consistent with what we do in wined3d_bo_gl_map().