Zebediah Figura : wined3d: Use the chunk allocator for GL pixel unpack buffers.
Alexandre Julliard
julliard at winehq.org
Tue Feb 8 16:11:46 CST 2022
Module: wine
Branch: master
Commit: 1e72b622f0343d91a35ec809f8ea1fb28bb892c4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1e72b622f0343d91a35ec809f8ea1fb28bb892c4
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Tue Feb 1 15:28:31 2022 -0600
wined3d: Use the chunk allocator for GL pixel unpack 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 587dc3059ca..2d37e29a655 100644
--- a/dlls/wined3d/context_gl.c
+++ b/dlls/wined3d/context_gl.c
@@ -3131,6 +3131,7 @@ bool wined3d_context_gl_create_bo(struct wined3d_context_gl *context_gl, GLsizei
{
case GL_ATOMIC_COUNTER_BUFFER:
case GL_DRAW_INDIRECT_BUFFER:
+ case GL_PIXEL_UNPACK_BUFFER:
if ((memory = wined3d_context_gl_allocate_memory(context_gl, memory_type_idx, size, &id)))
buffer_offset = memory->offset;
break;
More information about the wine-cvs
mailing list