Fix the size and blurriness of the icon on OSX (#553)

* Fix the size and blurriness of the icon on OSX

* Don't nest ifndef

* Fix
This commit is contained in:
Jean-André Santoni 2021-09-30 03:22:00 +07:00 committed by Francesco Abbate
parent a97a3d80da
commit 0b4d1e2bce
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -51,7 +51,7 @@ static void get_exe_filename(char *buf, int sz) {
static void init_window_icon(void) {
#ifndef _WIN32
#if !defined(_WIN32) && !defined(__APPLE__)
#include "../resources/icons/icon.inl"
(void) icon_rgba_len; /* unused */
SDL_Surface *surf = SDL_CreateRGBSurfaceFrom(