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:
1 parent
1ba99c53d4
commit
3eb49ac862
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user