Mercurial > hg > openttd
changeset 8986:6691bccdc43d draft
(svn r12780) -Fix: the null blitter did segfault.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Fri, 18 Apr 2008 23:32:10 +0000 |
parents | 480d464f5e24 |
children | 7901d37c4329 |
files | src/video/null_v.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/null_v.cpp +++ b/src/video/null_v.cpp @@ -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");