Commit 00a8465b by Geoff Lang Committed by Gerrit Code Review

Merge "Don't let mBufferSize fall out of sync with the actual buffer size. …

Merge "Don't let mBufferSize fall out of sync with the actual buffer size. Pervents unnecessary buffer re-creations." into es3proto
parents a621c2e4 453aaba4
......@@ -354,10 +354,6 @@ bool DirectBufferStorage11::updateFromStagingBuffer(ID3D11Buffer *stagingBuffer,
mBufferSize = bufferDesc.ByteWidth;
}
else
{
mBufferSize = requiredBufferSize;
}
// Copy data via staging buffer
D3D11_BOX srcBox;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment