I created a tennis game for OSX using SDL 1.2 + OpenGL 1.1 .
Everything was ok till El Capitan. Now, a few textures aren\'t displayed correctly.
The court wh
For anyone else having problems with graphical glitches on OS X El Capitan and pygame, you can follow these instructions to downgrade to SDL from version 1.2.12 to 1.2.10, which seems to fix the issue (at least in several of the games I've tested so far):
All the following is from the command prompt:
Backup the original ruby Formula (just in case):
mv /usr/local/Library/Formula/sdl_image.rb /usr/local/Library/Formula/sdl_image_backup.rb
This creates a new Formula using the sdl version 1.2.10 instead:
brew create https://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.10.tar.gz
It should open in a text editor automatically, if not open it with vim/emacs/nano/whatever you prefer and edit it to match most of what the original sdl_image.rb (now sdl_image_backup.rb) says, but skip the "bottle do" part and the "test" part.
Set environment variable (not sure this is required but worked for me):
export SDL_CONFIG=/usr/local/bin/sdl-config
Unlink the old 1.2.12 install:
brew unlink sdl_image
Now reinstall, but brew will use our new Formula for 1.2.10:
brew install sdl_image