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
|
|
@ -961,9 +961,9 @@ void incolor_poll(void *p)
|
|||
if (ysize < 32) ysize = 200;
|
||||
updatewindowsize(xsize, ysize);
|
||||
}
|
||||
startblit();
|
||||
|
||||
video_blit_memtoscreen(0, incolor->firstline, 0, incolor->lastline - incolor->firstline, xsize, incolor->lastline - incolor->firstline);
|
||||
endblit();
|
||||
|
||||
frames++;
|
||||
if ((incolor->ctrl & INCOLOR_CTRL_GRAPH) && (incolor->ctrl2 & INCOLOR_CTRL2_GRAPH))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue