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-29 22:22:00 +02:00
committed by GitHub
parent f0a3f50e6a
commit eb73ad3f8a
2 changed files with 1 additions and 1 deletions
Binary file not shown.
+1 -1
View File
@@ -51,7 +51,7 @@ static void get_exe_filename(char *buf, int sz) {
static void init_window_icon(void) { static void init_window_icon(void) {
#ifndef _WIN32 #if !defined(_WIN32) && !defined(__APPLE__)
#include "../resources/icons/icon.inl" #include "../resources/icons/icon.inl"
(void) icon_rgba_len; /* unused */ (void) icon_rgba_len; /* unused */
SDL_Surface *surf = SDL_CreateRGBSurfaceFrom( SDL_Surface *surf = SDL_CreateRGBSurfaceFrom(