Merge pull request #2034 from CookiePLMonster/vertex-stream-offsets
Take vertex stream offset into the account when caching VBs
This commit is contained in:
commit
dc5f56222e
|
@ -296,6 +296,7 @@ void CxbxVertexBufferConverter::ConvertStream
|
|||
return;
|
||||
}
|
||||
|
||||
pXboxVertexData += XboxStreamInput.Offset;
|
||||
uiXboxVertexStride = XboxStreamInput.Stride;
|
||||
// Set a new (exact) vertex count
|
||||
uiVertexCount = pDrawContext->VerticesInBuffer;
|
||||
|
|
Loading…
Reference in New Issue