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
commitaf5775a5ec1faa34924eb5177393d8ee1de48eb6 (patch)
tree7b2a3b1842c576a7dbbe88490298d9b09ee12a82 /src
parenta63974547b89f7754d00d8016b08abb682c34036 (diff)
downloadopenttd-af5775a5ec1faa34924eb5177393d8ee1de48eb6.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");