Removed unneeded separate return statement.

This commit is contained in:
Sam Lantinga 2024-08-31 07:04:14 -07:00
parent 4759a97c09
commit 2010a22f44

View File

@ -3164,8 +3164,7 @@ static bool VULKAN_UpdateVertexBuffer(SDL_Renderer *renderer,
if (rendererData->issueBatch) {
if (VULKAN_IssueBatch(rendererData) != VK_SUCCESS) {
SDL_SetError("Failed to issue intermediate batch");
return false;
return SDL_SetError("Failed to issue intermediate batch");
}
}
// If the existing vertex buffer isn't big enough, we need to recreate a big enough one