mirror of https://github.com/libsdl-org/SDL.git
thread/windows: fix stack overflow in exception naming
(cherry picked from commit1a853973ab) (cherry picked from commit6421f12d7f)
This commit is contained in:
parent
63bb1a8583
commit
155f99a4e6
|
|
@ -159,7 +159,7 @@ void SDL_SYS_SetupThread(const char *name)
|
||||||
inf.dwFlags = 0;
|
inf.dwFlags = 0;
|
||||||
|
|
||||||
/* The debugger catches this, renames the thread, continues on. */
|
/* The debugger catches this, renames the thread, continues on. */
|
||||||
RaiseException(0x406D1388, 0, sizeof(inf) / sizeof(ULONG), (const ULONG_PTR *)&inf);
|
RaiseException(0x406D1388, 0, sizeof(inf) / sizeof(ULONG_PTR), (const ULONG_PTR *)&inf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue