- fixed: The Vulkan device may only be deleted if Vulkan is present.

This commit is contained in:
Christoph Oelckers 2019-04-19 08:36:19 +02:00
parent faac0805f0
commit 146f7035d8
1 changed files with 2 additions and 0 deletions

View File

@ -255,7 +255,9 @@ SDLVideo::SDLVideo ()
SDLVideo::~SDLVideo () SDLVideo::~SDLVideo ()
{ {
#ifdef HAVE_VULKAN
delete device; delete device;
#endif
} }
DFrameBuffer *SDLVideo::CreateFrameBuffer () DFrameBuffer *SDLVideo::CreateFrameBuffer ()