From 371a7cd0916d002fbbaf9a176d1d2bcda6383ac2 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Wed, 12 Aug 2026 15:19:36 +0200 Subject: [PATCH] Fixes --- Source/Engine/Online/IOnlinePlatform.h | 2 +- Source/Engine/Tools/TextureTool/TextureTool.stb.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/Online/IOnlinePlatform.h b/Source/Engine/Online/IOnlinePlatform.h index bd21b2e79..918534756 100644 --- a/Source/Engine/Online/IOnlinePlatform.h +++ b/Source/Engine/Online/IOnlinePlatform.h @@ -323,7 +323,7 @@ public: /// The player to get avatar for. /// The loaded avatar texture, null if cannot get it. Caller has to destroy the returned virtual texture once unused. /// True if failed, otherwise false. - API_FUNCTION() virtual bool GetUserAvarar(const OnlineUser& user, API_PARAM(Out) Texture*& avatar) = 0; + API_FUNCTION() virtual bool GetUserAvatar(const OnlineUser& user, API_PARAM(Out) Texture*& avatar) = 0; /// /// Gets the list of friends of the user from the online platform. diff --git a/Source/Engine/Tools/TextureTool/TextureTool.stb.cpp b/Source/Engine/Tools/TextureTool/TextureTool.stb.cpp index e6a7d933e..27d4fcb78 100644 --- a/Source/Engine/Tools/TextureTool/TextureTool.stb.cpp +++ b/Source/Engine/Tools/TextureTool/TextureTool.stb.cpp @@ -455,7 +455,7 @@ bool TextureTool::ImportTextureStb(ImageType type, Span bytes, TextureData { #if USE_EDITOR // Load image as stream of bytes - const unsigned char* ddsData = static_cast(fileData.Get()); + const unsigned char* ddsData = static_cast(bytes.Get()); // Decode header and get pointer to initial data ddspp::Descriptor desc;