mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
Flip scrolling issues around, it'll slow on load instead of jumping fast
This commit is contained in:
parent
d066962617
commit
6b237c5ba1
1
main.c
1
main.c
@ -357,7 +357,6 @@ HRESULT __stdcall ddraw_WaitForVerticalBlank(IDirectDrawImpl *This, DWORD a, HAN
|
||||
#if _DEBUG
|
||||
printf("DirectDraw::WaitForVerticalBlank(This=%p, ...)\n", This);
|
||||
#endif
|
||||
WaitForSingleObject(This->render.ev, INFINITE);
|
||||
return DD_OK;
|
||||
}
|
||||
|
||||
|
2
render.c
2
render.c
@ -84,8 +84,6 @@ DWORD WINAPI render_main(void)
|
||||
|
||||
while(ddraw->render.run)
|
||||
{
|
||||
ResetEvent(ddraw->render.ev);
|
||||
|
||||
scale_w = (float)ddraw->width/tex_width;
|
||||
scale_h = (float)ddraw->height/tex_height;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user