mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
(svn r12780) -Fix: the null blitter did segfault.
This commit is contained in:
parent
7e5639ccea
commit
312d54bc3b
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user