- 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

View file

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