mirror of https://github.com/ZDoom/gzdoom-gles.git
- fixed: The Vulkan device may only be deleted if Vulkan is present.
This commit is contained in:
parent
faac0805f0
commit
146f7035d8
|
@ -255,7 +255,9 @@ SDLVideo::SDLVideo ()
|
||||||
|
|
||||||
SDLVideo::~SDLVideo ()
|
SDLVideo::~SDLVideo ()
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_VULKAN
|
||||||
delete device;
|
delete device;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
DFrameBuffer *SDLVideo::CreateFrameBuffer ()
|
DFrameBuffer *SDLVideo::CreateFrameBuffer ()
|
||||||
|
|
Loading…
Reference in New Issue