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 GitHub
parent f0a3f50e6a
commit eb73ad3f8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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(