mirror of https://github.com/libsdl-org/SDL.git
vulken: VULKAN_CreateTexture returns a boolean
Fixes regression introduced by 9ff3446f03
VK_SUCCESS == 0, where success needs to return true (1).
This commit is contained in:
parent
1ba99c53d4
commit
3eb49ac862
|
|
@ -2674,7 +2674,7 @@ static bool VULKAN_CreateTexture(SDL_Renderer *renderer, SDL_Texture *texture, S
|
|||
return result;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
return true;
|
||||
}
|
||||
|
||||
static void VULKAN_DestroyTexture(SDL_Renderer *renderer,
|
||||
|
|
|
|||
Loading…
Reference in New Issue