Added comment
Former-commit-id: 081cceccdcfeb491606c8d7f36810a7374e50ec9
This commit is contained in:
parent
5890f26291
commit
dca6b6d41f
|
|
@ -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");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue