Added comment
Former-commit-id: 081cceccdcfeb491606c8d7f36810a7374e50ec9
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
bool NzIconImpl::Create(const NzImage& icon)
|
bool NzIconImpl::Create(const NzImage& icon)
|
||||||
{
|
{
|
||||||
NzImage windowsIcon(icon);
|
NzImage windowsIcon(icon); // Vive le COW
|
||||||
if (!windowsIcon.Convert(nzPixelFormat_BGRA8))
|
if (!windowsIcon.Convert(nzPixelFormat_BGRA8))
|
||||||
{
|
{
|
||||||
NazaraError("Failed to convert icon to BGRA8");
|
NazaraError("Failed to convert icon to BGRA8");
|
||||||
|
|||||||
Reference in New Issue
Block a user