(svn r12780) -Fix: the null blitter did segfault.
authorrubidium
Fri, 18 Apr 2008 23:32:10 +0000
changeset 8986 72ee588f7d56
parent 8985 6461e5c6d6e4
child 8987 80d22b9c2a0c
(svn r12780) -Fix: the null blitter did segfault.
src/video/null_v.cpp
--- a/src/video/null_v.cpp	Fri Apr 18 21:49:38 2008 +0000
+++ b/src/video/null_v.cpp	Fri Apr 18 23:32:10 2008 +0000
@@ -15,6 +15,8 @@
 	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");