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

wined3d: Make offset parameter optional in wined3d_device_get_stream_output().

parent 4b281147
......@@ -1234,7 +1234,8 @@ struct wined3d_buffer * CDECL wined3d_device_get_stream_output(struct wined3d_de
return NULL;
}
*offset = device->state.stream_output[idx].offset;
if (offset)
*offset = device->state.stream_output[idx].offset;
return device->state.stream_output[idx].buffer;
}
......
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