Zebediah Figura : wined3d: Use the chunk allocator for GL atomic counter buffers.
Alexandre Julliard
julliard at winehq.org
Tue Feb 8 16:11:46 CST 2022
Module: wine
Branch: master
Commit: 5fb6d5cc3112c700be25d76e4c875e64dc2021c7
URL: https://source.winehq.org/git/wine.git/?a=commit;h=5fb6d5cc3112c700be25d76e4c875e64dc2021c7
Author: Zebediah Figura <zfigura at 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 at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
More information about the wine-cvs
mailing list