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
a97a3d80da
commit
0b4d1e2bce
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