From 9b460727ee87bb854aa57d2358c6cda55d85b43e Mon Sep 17 00:00:00 2001 From: couriersud Date: Fri, 6 Feb 2015 22:20:34 +0100 Subject: [PATCH] Fix baseline (windows) "-video none" build. There is something else going wrong here. The renderer is never setup and actually called. That may be one purpose but should be documented in renderer_none. (nw) --- src/osd/windows/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/windows/window.c b/src/osd/windows/window.c index 976b34081ad..de1547dc71e 100644 --- a/src/osd/windows/window.c +++ b/src/osd/windows/window.c @@ -803,7 +803,7 @@ void win_window_info::update() } // if we're visible and running and not in the middle of a resize, draw - if (m_hwnd != NULL && m_target != NULL) + if (m_hwnd != NULL && m_target != NULL && m_renderer != NULL) { int got_lock = TRUE;