summaryrefslogtreecommitdiff
path: root/src/video/win32_v.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/win32_v.cpp')
-rw-r--r--src/video/win32_v.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp
index 186ac1025..0ba21b0a1 100644
--- a/src/video/win32_v.cpp
+++ b/src/video/win32_v.cpp
@@ -184,7 +184,6 @@ static void ClientSizeChanged(int w, int h)
{
/* allocate new dib section of the new size */
if (AllocateDibSection(w, h)) {
- if (_draw_mutex != NULL) _draw_mutex->BeginCritical();
/* mark all palette colours dirty */
_cur_palette.first_dirty = 0;
_cur_palette.count_dirty = 256;
@@ -199,8 +198,6 @@ static void ClientSizeChanged(int w, int h)
_screen.dst_ptr = _wnd.buffer_bits;
UpdateWindows();
}
-
- if (_draw_mutex != NULL) _draw_mutex->EndCritical();
}
}