wined3d: Get rid of a redundant memset() in device_stream_info_from_declaration().
This commit is contained in:
parent
c514323442
commit
afc06ce748
|
@ -182,7 +182,8 @@ void device_stream_info_from_declaration(IWineD3DDeviceImpl *This,
|
||||||
const DWORD *streams = declaration->streams;
|
const DWORD *streams = declaration->streams;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
memset(stream_info, 0, sizeof(*stream_info));
|
stream_info->use_map = 0;
|
||||||
|
stream_info->swizzle_map = 0;
|
||||||
|
|
||||||
/* Check for transformed vertices, disable vertex shader if present. */
|
/* Check for transformed vertices, disable vertex shader if present. */
|
||||||
stream_info->position_transformed = declaration->position_transformed;
|
stream_info->position_transformed = declaration->position_transformed;
|
||||||
|
|
Loading…
Reference in New Issue