Skip to content

pl_thread_win32: initialize time variable before goto

Kacper Michajłow requested to merge kasper93/libplacebo:cpp into master

Fixes compilation of glslang.cc due to more strict C++ prohibiting to jump over variable initialization.

Also as a bonus check sleep time after converting to integer as it may end up zero.

Fixes: https://github.com/haasn/libplacebo/issues/185

Merge request reports

Loading