mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
VULKAN_UpdateVertexBuffer() should return true if there's nothing to do
This commit is contained in:
parent
8f546bb3c9
commit
3e60fb4223
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue