]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix some uninitialized variables
authorMikko Rasa <tdb@tdb.fi>
Fri, 26 Aug 2016 23:26:11 +0000 (02:26 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 26 Aug 2016 23:26:11 +0000 (02:26 +0300)
source/resourcemanager.cpp

index 6d383de4012dee79193a145c8bd0643ed0165bca..57b0327336b06a8012b0319d35df4a895498168b 100644 (file)
@@ -24,6 +24,7 @@ resource_load_error::resource_load_error(const string &name, const exception &ex
 ResourceManager::ResourceManager():
        policy(LOAD_ON_DEMAND),
        async_loads(true),
+       total_data_size(0),
        size_limit(0),
        frame(0),
        min_retain_frames(30),
@@ -374,6 +375,7 @@ ResourceManager::LoadingThread::LoadingThread():
        sem(1),
        capacity(2),
        size(0),
+       loaded_data_size(0),
        done(false)
 {
        launch();