From 15242b17844cff61e870933b7759d729516a33ea Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 18 Apr 2008 23:32:10 +0000 Subject: (svn r12780) -Fix: the null blitter did segfault. --- src/video/null_v.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/video') diff --git a/src/video/null_v.cpp b/src/video/null_v.cpp index f1942a8ae..cc488af11 100644 --- a/src/video/null_v.cpp +++ b/src/video/null_v.cpp @@ -15,6 +15,8 @@ const char *VideoDriver_Null::Start(const char* const *parm) this->ticks = GetDriverParamInt(parm, "ticks", 1000); _screen.width = _screen.pitch = _cur_resolution[0]; _screen.height = _cur_resolution[1]; + ScreenSizeChanged(); + /* Do not render, nor blit */ DEBUG(misc, 1, "Forcing blitter 'null'..."); BlitterFactoryBase::SelectBlitter("null"); -- cgit v1.2.3-70-g09d2