On Tue, 1 Feb 2022 at 22:45, Zebediah Figura zfigura@codeweavers.com wrote:
@@ -3132,6 +3132,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:
case GL_TEXTURE_BUFFER: if ((memory = wined3d_context_gl_allocate_memory(context_gl, memory_type_idx, size, &id))) buffer_offset = memory->offset; break;
Actually, note that sub-allocating texture buffers requires the ARB_texture_buffer_range extension.