From 808ab3fc4c92ebb08348e12111c9b079a643c2c8 Mon Sep 17 00:00:00 2001 From: Engin Manap Date: Tue, 3 Dec 2024 22:11:16 +0100 Subject: [PATCH] Fix some Asset manager members are mistakenly public --- src/Assets/AssetManager.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Assets/AssetManager.h b/src/Assets/AssetManager.h index 9012daf9..66496698 100644 --- a/src/Assets/AssetManager.h +++ b/src/Assets/AssetManager.h @@ -28,12 +28,11 @@ class GraphicsInterface; class ALHelper; class AssetManager { -public: - enum AssetTypes { Asset_type_DIRECTORY, Asset_type_MODEL, Asset_type_TEXTURE, Asset_type_SKYMAP, Asset_type_SOUND, Asset_type_GRAPHICSPROGRAM, Asset_type_UNKNOWN }; - std::mutex cpuLoadConditionMutex; std::mutex partialLoadCpuMutex; std::condition_variable cpuLoadDoneCondition; +public: + enum AssetTypes { Asset_type_DIRECTORY, Asset_type_MODEL, Asset_type_TEXTURE, Asset_type_SKYMAP, Asset_type_SOUND, Asset_type_GRAPHICSPROGRAM, Asset_type_UNKNOWN }; struct EmbeddedTexture { char format[9] = "\0";