wined3d: Avoid a compiler warning in context_stream_info_from_declaration().

This commit is contained in:
Henri Verbeet 2014-07-22 08:44:24 +02:00 committed by Alexandre Julliard
parent d3c6d3425f
commit 96d845aa46
1 changed files with 1 additions and 1 deletions

View File

@ -2794,7 +2794,7 @@ void context_stream_info_from_declaration(struct wined3d_context *context,
stream_info->elements[idx].format = element->format; stream_info->elements[idx].format = element->format;
stream_info->elements[idx].data.buffer_object = 0; stream_info->elements[idx].data.buffer_object = 0;
stream_info->elements[idx].data.addr = (BYTE *)stream->offset + element->offset; stream_info->elements[idx].data.addr = (BYTE *)NULL + stream->offset + element->offset;
stream_info->elements[idx].stride = stream->stride; stream_info->elements[idx].stride = stream->stride;
stream_info->elements[idx].stream_idx = element->input_slot; stream_info->elements[idx].stream_idx = element->input_slot;