mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Removed unneeded separate return statement.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user