diff --git a/src/posix/sdl/sdlglvideo.cpp b/src/posix/sdl/sdlglvideo.cpp index d5b9ad3d1..47580f830 100644 --- a/src/posix/sdl/sdlglvideo.cpp +++ b/src/posix/sdl/sdlglvideo.cpp @@ -255,7 +255,9 @@ SDLVideo::SDLVideo () SDLVideo::~SDLVideo () { +#ifdef HAVE_VULKAN delete device; +#endif } DFrameBuffer *SDLVideo::CreateFrameBuffer ()