diff options
author | rubidium <rubidium@openttd.org> | 2008-04-18 23:32:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-18 23:32:10 +0000 |
commit | 312d54bc3bc2b8c8919d6a074b0549418442a177 (patch) | |
tree | 26cf6170dfde6c019047b5cec6220eff0e80bedc /src | |
parent | 7e5639ccea74f36d85b465ef93b0cdb9f135c4e4 (diff) | |
download | openttd-312d54bc3bc2b8c8919d6a074b0549418442a177.tar.xz |
(svn r12780) -Fix: the null blitter did segfault.
Diffstat (limited to 'src')
-rw-r--r-- | src/video/null_v.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |