GPUOpen-Tools / compressonator

Tool suite for Texture and 3D Model Compression, Optimization and Analysis using CPUs, GPUs and APUs
1.29k stars 193 forks source link

Add Unicode version for CMP_LoadTexture/CMP_SaveTexture #281

Open vergol opened 10 months ago

vergol commented 10 months ago

Add Unicode version for CMP_LoadTexture/CMP_SaveTexture

CMP_LoadTexture(const wchar_t *sourceFile, CMP_MipSet *pMipSet);
CMP_SaveTexture(const wchar_t *destFile, CMP_MipSet *pMipSet);
denislevesqueAMD commented 10 months ago

@vergol Thanks for the issue report.

For our future reference, this is one of a few unicode-related issues that have been opened (others are: #232 and #220).

seragh commented 9 months ago

In case this is just force of habit: https://learn.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page