Commit ba5f90b2 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Allow OpenGL atomic counter buffer objects to be suballocated from a larger buffer.

parent 8f0c9e49
......@@ -3788,7 +3788,8 @@ static void wined3d_context_gl_bind_unordered_access_views(struct wined3d_contex
format_gl->internal));
if (view_gl->counter_bo.id)
GL_EXTCALL(glBindBufferBase(GL_ATOMIC_COUNTER_BUFFER, i, view_gl->counter_bo.id));
GL_EXTCALL(glBindBufferRange(GL_ATOMIC_COUNTER_BUFFER, i, view_gl->counter_bo.id,
view_gl->counter_bo.buffer_offset, view_gl->counter_bo.size));
}
checkGLcall("Bind unordered access views");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment