🎨 Clean up appfat
This commit is contained in:
parent
0953b3524e
commit
501c536017
5 changed files with 21 additions and 27 deletions
|
|
@ -25,7 +25,7 @@ static unsigned int dthread_handler(void *data)
|
|||
|
||||
while (dthread_running) {
|
||||
if (!sgpInfoHead && WaitForEvent(sghWorkToDoEvent) == -1) {
|
||||
error_buf = TraceLastError();
|
||||
error_buf = SDL_GetError();
|
||||
app_fatal("dthread4:\n%s", error_buf);
|
||||
}
|
||||
|
||||
|
|
@ -103,7 +103,7 @@ void dthread_start()
|
|||
|
||||
sghWorkToDoEvent = StartEvent();
|
||||
if (sghWorkToDoEvent == NULL) {
|
||||
error_buf = TraceLastError();
|
||||
error_buf = SDL_GetError();
|
||||
app_fatal("dthread:1\n%s", error_buf);
|
||||
}
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ void dthread_start()
|
|||
|
||||
sghThread = CreateThread(dthread_handler, &glpDThreadId);
|
||||
if (sghThread == NULL) {
|
||||
error_buf = TraceLastError();
|
||||
error_buf = SDL_GetError();
|
||||
app_fatal("dthread2:\n%s", error_buf);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue