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 white lines are now black ; the player textures are all bad ; the energy bars on the left are all black:

The white lines on the icons aren't normal. The rainbow texture on the highlighted icon isn't either:

How the game should normally looks:

So the wrong textures are:
- the players : they are re-created in-game using different textures, using RGBA
- the white lines (now black) : normal RGBA texture
- the energy bar (on the left) : normal RGBA texture
- some other GUI elements, but not all : mostly normal RGBA textures
Moreover, it's only the AppStore version of the game that gets these glitches. The version I distribute from my website seems to be glitch free ( => http://www.managames.com/predownload_en.php?f=TennisElbowMac_sto.zip )
I'm totally puzzled by what's going on. I know El Capitan just brought a big change in the way the OS renders things, but I have no idea where to look and even less what to fix.
It seems it only touches RGBA textures, but not all of them as most GUI elements are still correctly displayed.
So thanks in advance for any tips you may have !
