Replaced Windows critical section with mutex - fixes some issues with window movement/resizing when using Direct3D output.
This commit is contained in:
parent
6aef53e854
commit
d27c7a0947
11 changed files with 22 additions and 25 deletions
|
|
@ -380,13 +380,12 @@ void cga_poll(void *p)
|
|||
updatewindowsize(xsize, (ysize << 1) + 16);
|
||||
}
|
||||
|
||||
startblit();
|
||||
if (cga->composite)
|
||||
video_blit_memtoscreen(0, cga->firstline - 4, 0, (cga->lastline - cga->firstline) + 8, xsize, (cga->lastline - cga->firstline) + 8);
|
||||
else
|
||||
video_blit_memtoscreen_8(0, cga->firstline - 4, xsize, (cga->lastline - cga->firstline) + 8);
|
||||
frames++;
|
||||
endblit();
|
||||
|
||||
video_res_x = xsize - 16;
|
||||
video_res_y = ysize;
|
||||
if (cga->cgamode & 1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue