mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-14 22:50:45 +00:00
Remove unused comment
This commit is contained in:
parent
7a82dc1c9b
commit
8f190b85c2
1 changed files with 0 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue