]> git.tdb.fi Git - libs/gl.git/blobdiff - source/resourcemanager.cpp
Fix some uninitialized variables
[libs/gl.git] / 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();