summaryrefslogtreecommitdiff
path: root/src/video/dedicated_v.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/dedicated_v.cpp')
-rw-r--r--src/video/dedicated_v.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp
index a88904987..a6cb3dec2 100644
--- a/src/video/dedicated_v.cpp
+++ b/src/video/dedicated_v.cpp
@@ -145,6 +145,7 @@ const char *VideoDriver_Dedicated::Start(const char * const *parm)
_screen.width = _screen.pitch = _cur_resolution.width;
_screen.height = _cur_resolution.height;
+ _screen.dst_ptr = _dedicated_video_mem;
ScreenSizeChanged();
#if defined(WINCE)
@@ -302,7 +303,6 @@ void VideoDriver_Dedicated::MainLoop()
next_tick = cur_ticks + 30;
GameLoop();
- _screen.dst_ptr = _dedicated_video_mem;
UpdateWindows();
}
CSleep(1);