forked from MoonsideGames/Refresh
fix vert UBO size check
parent
ae44d3ef23
commit
838e840a70
|
@ -4446,7 +4446,7 @@ static void VULKAN_PushVertexShaderParams(
|
|||
if (
|
||||
renderer->vertexUBOOffset +
|
||||
renderer->currentGraphicsPipeline->vertexUBOBlockSize >=
|
||||
UBO_BUFFER_SIZE * renderer->frameIndex
|
||||
UBO_BUFFER_SIZE * (renderer->frameIndex + 1)
|
||||
) {
|
||||
REFRESH_LogError("Vertex UBO overflow!");
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue