wined3d: Invalidate STATE_STREAMSRC in wined3d_device_draw_indexed_primitive_up.

This commit is contained in:
Stefan Dösinger 2011-06-11 16:19:45 +02:00 committed by Alexandre Julliard
parent dafd31861a
commit a421278625
1 changed files with 2 additions and 2 deletions

View File

@ -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);