delay render thread for now to prevent race condition on startup
This commit is contained in:
parent
eb1c261ac7
commit
850dfda0f5
4 changed files with 5 additions and 2 deletions
|
@ -51,6 +51,8 @@ BOOL detect_cutscene()
|
|||
|
||||
DWORD WINAPI render_soft_main(void)
|
||||
{
|
||||
Sleep(500);
|
||||
|
||||
PBITMAPINFO bmi = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(BITMAPINFOHEADER) + sizeof(RGBQUAD) * 256);
|
||||
|
||||
bmi->bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue