summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-19 21:51:05 +0000
committerrubidium <rubidium@openttd.org>2008-04-19 21:51:05 +0000
commitc884d82e46fe3cdd46e2e3e03d97b09db1f29669 (patch)
tree7b2a3b1842c576a7dbbe88490298d9b09ee12a82 /src
parent0e624275ee1caa6500215e2747cdae7f53a941a5 (diff)
downloadopenttd-c884d82e46fe3cdd46e2e3e03d97b09db1f29669.tar.xz
(svn r12796) -Fix: the dedicated blitter did segfault too, like the null blitter did.
Diffstat (limited to 'src')
-rw-r--r--src/video/dedicated_v.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp
index df15663d8..8389d4874 100644
--- a/src/video/dedicated_v.cpp
+++ b/src/video/dedicated_v.cpp
@@ -140,6 +140,7 @@ const char *VideoDriver_Dedicated::Start(const char * const *parm)
_screen.width = _screen.pitch = _cur_resolution[0];
_screen.height = _cur_resolution[1];
+ ScreenSizeChanged();
SetDebugString("net=6");