wined3d: Do not set streamIsUP in DrawPrimitiveStrided.
This commit is contained in:
parent
def7122f3c
commit
714e66acf2
|
@ -4741,7 +4741,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_DrawPrimitiveStrided (IWineD3DDevice *i
|
||||||
IWineD3DDeviceImpl_MarkStateDirty(This, STATE_INDEXBUFFER);
|
IWineD3DDeviceImpl_MarkStateDirty(This, STATE_INDEXBUFFER);
|
||||||
This->stateBlock->baseVertexIndex = 0;
|
This->stateBlock->baseVertexIndex = 0;
|
||||||
This->up_strided = DrawPrimStrideData;
|
This->up_strided = DrawPrimStrideData;
|
||||||
This->stateBlock->streamIsUP = TRUE;
|
|
||||||
drawPrimitive(iface, PrimitiveType, PrimitiveCount, 0, 0, 0, 0, NULL, 0);
|
drawPrimitive(iface, PrimitiveType, PrimitiveCount, 0, 0, 0, 0, NULL, 0);
|
||||||
This->up_strided = NULL;
|
This->up_strided = NULL;
|
||||||
return WINED3D_OK;
|
return WINED3D_OK;
|
||||||
|
|
Loading…
Reference in New Issue