diff options
Diffstat (limited to 'Source/Asset/Asset/texturedummy.h')
-rw-r--r-- | Source/Asset/Asset/texturedummy.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Source/Asset/Asset/texturedummy.h b/Source/Asset/Asset/texturedummy.h index 3c94a029..0efc2bed 100644 --- a/Source/Asset/Asset/texturedummy.h +++ b/Source/Asset/Asset/texturedummy.h @@ -29,19 +29,18 @@ #include <vector> -class TextureDummy : public Asset -{ -public: - TextureDummy( AssetManager* owner, uint32_t asset_id ); +class TextureDummy : public Asset { + public: + TextureDummy(AssetManager* owner, uint32_t asset_id); static AssetType GetType() { return TEXTURE_DUMMY_ASSET; } static const char* GetTypeName() { return "TEXTURE_DUMMY_ASSET"; } static bool AssetWarning() { return true; } - int Load( const std::string &path, uint32_t load_flags ) { return kLoadOk; }; + int Load(const std::string& path, uint32_t load_flags) { return kLoadOk; }; const char* GetLoadErrorString() { return ""; } const char* GetLoadErrorStringExtended() { return ""; } - void Unload() {}; - void ReportLoad() override{} + void Unload(){}; + void ReportLoad() override {} AssetLoaderBase* NewLoader() override; }; |