wined3d: Use the chunk allocator for GL atomic counter buffers.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7c844cd3c9
commit
5fb6d5cc31
|
@ -3129,6 +3129,7 @@ bool wined3d_context_gl_create_bo(struct wined3d_context_gl *context_gl, GLsizei
|
||||||
{
|
{
|
||||||
switch (binding)
|
switch (binding)
|
||||||
{
|
{
|
||||||
|
case GL_ATOMIC_COUNTER_BUFFER:
|
||||||
case GL_DRAW_INDIRECT_BUFFER:
|
case GL_DRAW_INDIRECT_BUFFER:
|
||||||
if ((memory = wined3d_context_gl_allocate_memory(context_gl, memory_type_idx, size, &id)))
|
if ((memory = wined3d_context_gl_allocate_memory(context_gl, memory_type_idx, size, &id)))
|
||||||
buffer_offset = memory->offset;
|
buffer_offset = memory->offset;
|
||||||
|
|
Loading…
Reference in New Issue