Commit 7d7d3a8d authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Add FIXME() for unimplemented index buffer offsets.

We do not support index buffer offsets for indirect draws. Signed-off-by: 's avatarJózef Kucia <jkucia@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 6d624b3d
......@@ -654,6 +654,8 @@ void draw_primitive(struct wined3d_device *device, const struct wined3d_state *s
if (idx_size)
{
GLenum idx_type = idx_size == 2 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT;
if (state->index_offset)
FIXME("Ignoring index offset %u.\n", state->index_offset);
GL_EXTCALL(glDrawElementsIndirect(state->gl_primitive_type, idx_type,
(void *)(GLintptr)parameters->u.indirect.offset));
}
......
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