(svn r12780) -Fix: the null blitter did segfault.
authorrubidium
Fri, 18 Apr 2008 23:32:10 +0000
changeset 10248 a8798a76d520
parent 10247 145d0458b685
child 10250 e64ee7484b43
(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");