mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
offscreen: Fix bogus surface pointer assignment
This commit is contained in:
parent
1a007ab88d
commit
9ab140fad8
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ bool OFFSCREEN_Vulkan_CreateSurface(SDL_VideoDevice *_this,
|
|||
const struct VkAllocationCallbacks *allocator,
|
||||
VkSurfaceKHR *surface)
|
||||
{
|
||||
surface = NULL;
|
||||
*surface = VK_NULL_HANDLE;
|
||||
|
||||
if (!_this->vulkan_config.loader_handle) {
|
||||
return SDL_SetError("Vulkan is not loaded");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue