SDL_image visual glitch on OS X El Capitan
问题 When trying to load and display bitmaps using Allegro 5 in C or PyGame in Python (both use SDL), instead, it renders a glitch (see screenshot below). I tried googling it and found that it could be related to SDL_image incompatibilities with OS X El Capitan, but no solutions. Anyone? Currently, I tried: Installing SDL_image 1.2.10 (latest compatible release). Nope! Installing SDL_image 1.2.10 with Homebrew via a custom formula. Also nothing! On the screenshot, those random pixels should be