Replaced Windows critical section with mutex - fixes some issues with window movement/resizing when using Direct3D output.

This commit is contained in:
SarahW 2016-08-28 20:31:12 +01:00
commit d27c7a0947
11 changed files with 22 additions and 25 deletions

View file

@ -395,10 +395,10 @@ void m24_poll(void *p)
if (ysize < 32) ysize = 200;
updatewindowsize(xsize, ysize + 16);
}
startblit();
video_blit_memtoscreen_8(0, m24->firstline - 8, xsize, (m24->lastline - m24->firstline) + 16);
frames++;
endblit();
video_res_x = xsize - 16;
video_res_y = ysize;
if (m24->cgamode & 1)