1
0
Fork 0

(svn r12780) -Fix: the null blitter did segfault.

release/0.7
rubidium 2008-04-18 23:32:10 +00:00
parent dde68e922a
commit 15242b1784
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ const char *VideoDriver_Null::Start(const char* const *parm)
this->ticks = GetDriverParamInt(parm, "ticks", 1000); this->ticks = GetDriverParamInt(parm, "ticks", 1000);
_screen.width = _screen.pitch = _cur_resolution[0]; _screen.width = _screen.pitch = _cur_resolution[0];
_screen.height = _cur_resolution[1]; _screen.height = _cur_resolution[1];
ScreenSizeChanged();
/* Do not render, nor blit */ /* Do not render, nor blit */
DEBUG(misc, 1, "Forcing blitter 'null'..."); DEBUG(misc, 1, "Forcing blitter 'null'...");
BlitterFactoryBase::SelectBlitter("null"); BlitterFactoryBase::SelectBlitter("null");