This commit is contained in:
2026-08-12 15:19:36 +02:00
parent babeb3409e
commit 371a7cd091
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ public:
/// <param name="user">The player to get avatar for.</param>
/// <param name="avatar">The loaded avatar texture, null if cannot get it. Caller has to destroy the returned virtual texture once unused.</param>
/// <returns>True if failed, otherwise false.</returns>
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;
/// <summary>
/// Gets the list of friends of the user from the online platform.
@@ -455,7 +455,7 @@ bool TextureTool::ImportTextureStb(ImageType type, Span<byte> bytes, TextureData
{
#if USE_EDITOR
// Load image as stream of bytes
const unsigned char* ddsData = static_cast<const unsigned char*>(fileData.Get());
const unsigned char* ddsData = static_cast<const unsigned char*>(bytes.Get());
// Decode header and get pointer to initial data
ddspp::Descriptor desc;