Changeset View
Changeset View
Standalone View
Standalone View
devel/rlvm/files/patch-src_systems_sdl_sdl__graphics__system.cc
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/systems/sdl/sdl_graphics_system.cc~ | |||||
+++ src/systems/sdl/sdl_graphics_system.cc | |||||
@@ -32,7 +32,7 @@ | |||||
#include <SDL/SDL.h> | |||||
#include <SDL/SDL_opengl.h> | |||||
-#if defined(__linux__) | |||||
+#if !defined(__APPLE__) | |||||
#include <SDL/SDL_image.h> | |||||
#endif | |||||
@@ -244,7 +244,7 @@ SDLGraphicsSystem::SDLGraphicsSystem(Sys | |||||
SetWindowTitle(); | |||||
-#if defined(__linux__) | |||||
+#if !defined(__APPLE__) | |||||
// We only set the icon on linux because OSX will use the icns file | |||||
// automatically and this doesn't look too awesome. | |||||
SDL_Surface* icon = IMG_Load("/usr/share/icons/hicolor/48x48/apps/rlvm.png"); |