Zebediah Figura : wined3d: Use the chunk allocator for GL atomic counter buffers.
Module: wine Branch: master Commit: 5fb6d5cc3112c700be25d76e4c875e64dc2021c7 URL: https://source.winehq.org/git/wine.git/?a=commit;h=5fb6d5cc3112c700be25d76e4... Author: Zebediah Figura <zfigura(a)codeweavers.com> Date: Tue Feb 1 15:28:30 2022 -0600 wined3d: Use the chunk allocator for GL atomic counter buffers. Signed-off-by: Zebediah Figura <zfigura(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wined3d/context_gl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wined3d/context_gl.c b/dlls/wined3d/context_gl.c index 9b8a887bd92..587dc3059ca 100644 --- a/dlls/wined3d/context_gl.c +++ b/dlls/wined3d/context_gl.c @@ -3129,6 +3129,7 @@ bool wined3d_context_gl_create_bo(struct wined3d_context_gl *context_gl, GLsizei { switch (binding) { + case GL_ATOMIC_COUNTER_BUFFER: case GL_DRAW_INDIRECT_BUFFER: if ((memory = wined3d_context_gl_allocate_memory(context_gl, memory_type_idx, size, &id))) buffer_offset = memory->offset;
participants (1)
-
Alexandre Julliard