Fix warnings shown when making SDL_bool a typedef of bool

This commit is contained in:
Anonymous Maarten 2024-08-22 17:33:07 +02:00 committed by Anonymous Maarten
parent 03ace96e5b
commit 46d9066a69
5 changed files with 8 additions and 8 deletions

View file

@ -3720,7 +3720,7 @@ static int VULKAN_RunCommandQueue(SDL_Renderer *renderer, SDL_RenderCommand *cmd
rendererData->recreateSwapchain = SDL_FALSE;
}
if (VULKAN_UpdateVertexBuffer(renderer, vertices, vertsize, &stateCache) < 0) {
if (!VULKAN_UpdateVertexBuffer(renderer, vertices, vertsize, &stateCache)) {
return -1;
}