Change window icon function for macOS
This commit is contained in:
parent
dedc05a7a6
commit
817be0ab4d
|
|
@ -563,7 +563,7 @@ void ClearWindowState(unsigned int flags)
|
||||||
void SetWindowIcon(Image image)
|
void SetWindowIcon(Image image)
|
||||||
{
|
{
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
CocoaSetWindowIcon(image.data, image.width, image.height);
|
CocoaSetDockIcon(image.data, image.width, image.height);
|
||||||
#else
|
#else
|
||||||
if (image.data == NULL)
|
if (image.data == NULL)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user