Hi,
I was just trying to port an SDL 1.2 game to SDL 1.3. Most code just compiled without any change. The only error I am getting a few times here and there is:
Code:
error: ‘struct SDL_PixelFormat’ has no member named ‘alpha’
What is the naive/simple way to fix this?
Also, we need to keep the code SDL 1.2 compatible for now, so how do I fix it in a way that the code compiles on both SDL 1.2 and SDL 1.3?
Thanks,
Albert