mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +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 (rendererData->issueBatch) {
|
||||||
if (VULKAN_IssueBatch(rendererData) != VK_SUCCESS) {
|
if (VULKAN_IssueBatch(rendererData) != VK_SUCCESS) {
|
||||||
SDL_SetError("Failed to issue intermediate batch");
|
return SDL_SetError("Failed to issue intermediate batch");
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// If the existing vertex buffer isn't big enough, we need to recreate a big enough one
|
// If the existing vertex buffer isn't big enough, we need to recreate a big enough one
|
||||||
|
Reference in New Issue
Block a user