diff --git a/src/video.cpp b/src/video.cpp index c09a99d1b37d..354efdbe28c9 100644 --- a/src/video.cpp +++ b/src/video.cpp @@ -288,7 +288,7 @@ void CVideo::render_screen() void CVideo::render_copy( const texture& txt, SDL_Rect* src_rect, SDL_Rect* dst_rect, const bool flip_h, const bool flip_v) { - if(!window) { + if(!window || txt.null()) { return; }