revert some changes
This commit is contained in:
parent
9821d80044
commit
eb1c261ac7
6 changed files with 63 additions and 21 deletions
2
render.c
2
render.c
|
@ -89,7 +89,7 @@ DWORD WINAPI render_main(void)
|
|||
glEnable(GL_TEXTURE_2D);
|
||||
|
||||
|
||||
while(ddraw->render.thread)
|
||||
while(ddraw->render.thread && WaitForSingleObject(ddraw->render.sem, INFINITE) != WAIT_FAILED)
|
||||
{
|
||||
scale_w = (float)ddraw->width/tex_width;
|
||||
scale_h = (float)ddraw->height/tex_height;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue