Remove unused comment

This commit is contained in:
Stephen Pridham 2022-11-18 17:40:29 -05:00 committed by Robert Beckebans
parent 7a82dc1c9b
commit 8f190b85c2

View file

@ -312,15 +312,5 @@ void idRenderProgManager::CommitConstantBuffer( nvrhi::ICommandList* commandList
if( uniformsChanged )
{
commandList->writeBuffer( constantBuffer[BindingLayoutType()], uniforms.Ptr(), uniforms.Allocated() );
//bindingParmUbo[BindingLayoutType()].Update( uniforms.Ptr(), ALIGN( sizeof(idVec4) * RENDERPARM_TOTAL, vertexCache.uniformBufferOffsetAlignment ), 0, false, commandList );
//CopyBuffer((byte*)mappedUniforms, (byte*)uniforms.Ptr(), RENDERPARM_TOTAL * sizeof(idVec4));
//int layout = BindingLayoutType();
//idVec4* parms = (idVec4*)bindingParmUbo[layout].MapBuffer(BM_WRITE);
//for (int i = 0; i < RENDERPARM_TOTAL; i++)
//{
// parms[ i ] = uniforms[ i ];
//}
//bindingParmUbo[layout].UnmapBuffer();
//uniformsChanged = false;
}
}