Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SDL 2.0 source has 1.3 in it?

I'm playing around with the SDL 2.0 source code and noticed it has another SDL folder within it that claims to be version 1.3.

I'm interested in it because it has source for android, iphone and a few others. The stable version , 1.2, seems to be quite different.

My question is this,

SDL wiki link

This link speaks of SDL_compat.c which may allow code to work for both 1.2 and 2.0. Is this the version I should be using, and should I be coding they way the 2.0 API suggest? I want my code to target as many platforms as possible including android, and iphone.

like image 488
aquawicket Avatar asked Oct 08 '22 17:10

aquawicket


1 Answers

2.0 is just 1.3 with the 1.2 compatibility layer stripped out.

Check the mailing list.

like image 126
genpfault Avatar answered Oct 13 '22 10:10

genpfault