Fix compilation

This commit is contained in:
SirLynix 2023-05-30 12:37:22 +02:00
parent 0c7efa05e2
commit f2f90e2ca3
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ namespace Nz
NazaraUnused(dst);
NazaraUnused(end);
NazaraInternalError("Conversion from " + PixelFormatInfo::GetName(from) + " to " + PixelFormatInfo::GetName(to) + " is not supported");
NazaraInternalError("Conversion from " + std::string(PixelFormatInfo::GetName(from)) + " to " + std::string(PixelFormatInfo::GetName(to)) + " is not supported");
return nullptr;
}