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 | 15242b17844cff61e870933b7759d729516a33ea (patch) | |
tree | 26cf6170dfde6c019047b5cec6220eff0e80bedc | |
parent | dde68e922a58b8ffbdc75a9c46a1cd74b9dd6474 (diff) | |
download | openttd-15242b17844cff61e870933b7759d729516a33ea.tar.xz |
(svn r12780) -Fix: the null blitter did segfault.
-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"); |