Browse Source

Change window icon function for macOS

pull/5425/head
annes 3 months ago
committed by GitHub
parent
commit
817be0ab4d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/platforms/rcore_desktop_glfw.c

+ 1
- 1
src/platforms/rcore_desktop_glfw.c View File

@ -563,7 +563,7 @@ void ClearWindowState(unsigned int flags)
void SetWindowIcon(Image image)
{
#ifdef __APPLE__
CocoaSetWindowIcon(image.data, image.width, image.height);
CocoaSetDockIcon(image.data, image.width, image.height);
#else
if (image.data == NULL)
{

Loading…
Cancel
Save