From aaa6d0f9ae118cebf6987f06b186ebc56c9d04ac Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 22 Feb 2014 14:26:07 +0000 Subject: (svn r26360) -Revert (r25550) / Fix [FS#5922]: ClientSizeChanged is only called via WndProcGdi which already has the mutex. The issue which r25550 tried to fix still exists as FS#5867. --- src/video/win32_v.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/video') 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(); } } -- cgit v1.2.3-54-g00ecf