wined3d: Avoid a compiler warning in context_stream_info_from_declaration().
This commit is contained in:
parent
d3c6d3425f
commit
96d845aa46
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue