wined3d: Add FIXME() for unimplemented index buffer offsets.
We do not support index buffer offsets for indirect draws. Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6d624b3d0f
commit
7d7d3a8db6
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue