wined3d: Invalidate STATE_STREAMSRC in wined3d_device_draw_indexed_primitive_up.
This commit is contained in:
parent
dafd31861a
commit
a421278625
|
@ -4231,8 +4231,8 @@ HRESULT CDECL wined3d_device_draw_indexed_primitive_up(struct wined3d_device *de
|
||||||
device->stateBlock->state.load_base_vertex_index = 0;
|
device->stateBlock->state.load_base_vertex_index = 0;
|
||||||
device_invalidate_state(device, STATE_BASEVERTEXINDEX);
|
device_invalidate_state(device, STATE_BASEVERTEXINDEX);
|
||||||
}
|
}
|
||||||
/* Mark the state dirty until we have nicer tracking of the stream source pointers */
|
/* Invalidate the state until we have nicer tracking of the stream source pointers */
|
||||||
device_invalidate_state(device, STATE_VDECL);
|
device_invalidate_state(device, STATE_STREAMSRC);
|
||||||
device_invalidate_state(device, STATE_INDEXBUFFER);
|
device_invalidate_state(device, STATE_INDEXBUFFER);
|
||||||
|
|
||||||
drawPrimitive(device, index_count, 0, index_size, index_data);
|
drawPrimitive(device, index_count, 0, index_size, index_data);
|
||||||
|
|
Loading…
Reference in New Issue