wined3d: Display the stream offset in GetStreamSource/SetStreamSource traces.
This commit is contained in:
parent
6fd820206a
commit
38082f2964
|
@ -2009,7 +2009,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetStreamSource(IWineD3DDevice *iface,
|
|||
}
|
||||
|
||||
oldSrc = This->stateBlock->streamSource[StreamNumber];
|
||||
TRACE("(%p) : StreamNo: %d, OldStream (%p), NewStream (%p), NewStride %d\n", This, StreamNumber, oldSrc, pStreamData, Stride);
|
||||
TRACE("(%p) : StreamNo: %u, OldStream (%p), NewStream (%p), OffsetInBytes %u, NewStride %u\n", This, StreamNumber, oldSrc, pStreamData, OffsetInBytes, Stride);
|
||||
|
||||
This->updateStateBlock->changed.streamSource[StreamNumber] = TRUE;
|
||||
This->updateStateBlock->set.streamSource[StreamNumber] = TRUE;
|
||||
|
@ -2053,8 +2053,10 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetStreamSource(IWineD3DDevice *iface,
|
|||
static HRESULT WINAPI IWineD3DDeviceImpl_GetStreamSource(IWineD3DDevice *iface, UINT StreamNumber,IWineD3DVertexBuffer** pStream, UINT *pOffset, UINT* pStride) {
|
||||
IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface;
|
||||
|
||||
TRACE("(%p) : StreamNo: %d, Stream (%p), Stride %d\n", This, StreamNumber,
|
||||
This->stateBlock->streamSource[StreamNumber], This->stateBlock->streamStride[StreamNumber]);
|
||||
TRACE("(%p) : StreamNo: %u, Stream (%p), Offset %u, Stride %u\n", This, StreamNumber,
|
||||
This->stateBlock->streamSource[StreamNumber],
|
||||
This->stateBlock->streamOffset[StreamNumber],
|
||||
This->stateBlock->streamStride[StreamNumber]);
|
||||
|
||||
if (StreamNumber >= MAX_STREAMS) {
|
||||
WARN("Stream out of range %d\n", StreamNumber);
|
||||
|
|
Loading…
Reference in New Issue