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

From 3e60fb42239f2617968dd0e4a167359ec199427a Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 22 Aug 2024 12:07:00 -0700
Subject: [PATCH] VULKAN_UpdateVertexBuffer() should return true if there's
 nothing to do

---
 src/render/vulkan/SDL_render_vulkan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/render/vulkan/SDL_render_vulkan.c b/src/render/vulkan/SDL_render_vulkan.c
index bf22e1ed1c125..2cc6da444e011 100644
--- a/src/render/vulkan/SDL_render_vulkan.c
+++ b/src/render/vulkan/SDL_render_vulkan.c
@@ -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) {