pioneerspacesim/pioneer — Issue #867: Galactic map does not load correctly on OS X
Author: robn
Created: 2011-12-19 01:51:20+00:00
State: open

SDL_image on OS X uses the OS image loading libraries instead of libpng, libjpeg, etc. This yields different results to SDL_image on other platforms. Mostly these are minor, but 8-bit images appear to be entirely broken.

Reference: http://forums.libsdl.org/viewtopic.php?p=30317#30317

As a result, our galactic map doesn't load properly on OS X:

![](http://i.imgur.com/yg8Yr.png)

Pioneer uses this image to compute star density values. As a result, OS X has a very odd star map:

![](http://i.imgur.com/Kw1kS.png)

This explains the weirdness noted in #854.