Fix progress of loading GPU zones.

This commit is contained in:
Bartosz Taudul 2018-08-05 13:07:58 +02:00
parent 3d591520ec
commit d36b0aff45

View File

@ -641,6 +641,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask )
f.Read( ctx->accuracyBits ); f.Read( ctx->accuracyBits );
f.Read( ctx->count ); f.Read( ctx->count );
s_loadProgress.subTotal.store( ctx->count, std::memory_order_relaxed ); s_loadProgress.subTotal.store( ctx->count, std::memory_order_relaxed );
s_loadProgress.subProgress.store( 0, std::memory_order_relaxed );
if( fileVer <= FileVersion( 0, 3, 1 ) ) if( fileVer <= FileVersion( 0, 3, 1 ) )
{ {
ctx->period = 1.f; ctx->period = 1.f;