VULKAN_UpdateVertexBuffer() should return true if there's nothing to do

This commit is contained in:
Sam Lantinga
2024-08-22 12:07:00 -07:00
parent 8f546bb3c9
commit 3e60fb4223

View File

@@ -3159,7 +3159,7 @@ static bool VULKAN_UpdateVertexBuffer(SDL_Renderer *renderer,
VULKAN_Buffer *vertexBuffer;
if (dataSizeInBytes == 0) {
return 0; // nothing to do.
return true; // nothing to do.
}
if (rendererData->issueBatch) {