From: Mikko Rasa Date: Fri, 26 Aug 2016 23:26:11 +0000 (+0300) Subject: Fix some uninitialized variables X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=6cbf65a87765e0aeac759a685cc6a1b7c836e7f8;p=libs%2Fgl.git Fix some uninitialized variables --- diff --git a/source/resourcemanager.cpp b/source/resourcemanager.cpp index 6d383de4..57b03273 100644 --- a/source/resourcemanager.cpp +++ b/source/resourcemanager.cpp @@ -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();