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:
parent
f0a3f50e6a
commit
eb73ad3f8a
Binary file not shown.
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue