Improve clarity of SDL2_WaitThread behavior comment
This commit is contained in:
parent
38211718e3
commit
28e61f846a
|
@ -108,8 +108,8 @@ pub const EventLoop = opaque {
|
||||||
{
|
{
|
||||||
var status = @as(c_int, 0);
|
var status = @as(c_int, 0);
|
||||||
|
|
||||||
// SDL2 defines waiting on a null thread reference as a no-op.
|
// SDL2 defines waiting on a null thread reference as a no-op. See
|
||||||
// https://wiki.libsdl.org/SDL_WaitThread
|
// https://wiki.libsdl.org/SDL_WaitThread for more information
|
||||||
ext.SDL_WaitThread(implementation.file_system_thread, &status);
|
ext.SDL_WaitThread(implementation.file_system_thread, &status);
|
||||||
|
|
||||||
if (status != 0) {
|
if (status != 0) {
|
||||||
|
|
Loading…
Reference in New Issue