I simply want to know, the benefits of each, and what they should be used for. Thanks ahead of time!
SDL vs SDL2
Just use SDL 2. It's the current API and the one the developers suggest you use. SDL 1.2 exists for backwards comparability.
What are the benefits and uses for Netscape 4.1 vs Firefox?
There's no meaningful benefit to SDL 1 over SDL 2. None. The old version hasn't seen a bugfix or update in almost 3 years ago, it has less features, supports fewer devices and OSes, and it isn't maintained for security patches.
It can be dangerous to go too bleeding edge but in general you should always stick to the most recently released and actively maintained version of every library and tool you use. Especially with anything where you don't have an explicit support contract with the software vendor.
There's no meaningful benefit to SDL 1 over SDL 2. None. The old version hasn't seen a bugfix or update in almost 3 years ago, it has less features, supports fewer devices and OSes, and it isn't maintained for security patches.
It can be dangerous to go too bleeding edge but in general you should always stick to the most recently released and actively maintained version of every library and tool you use. Especially with anything where you don't have an explicit support contract with the software vendor.
Okay, can you give me a tutorial to SDL2. I've been using SDL 1.2 for a couple months, so I hope It will be easy to learn SDL2.
This is what you're looking for:
http://lazyfoo.net/tutorials/SDL/index.php
For future reference, it's the first thing that showed up when I googled "sdl tutorial".
I'v converted from SDL1 to SDL2, and found it well worth the effort. SDL2 cleans up some conceptual weirdness in SDL1 (what's in texture mem vs. low mem?) as well as enabling new OS and platform features (consistent multitouch.)
And, as others have pointed out, it's clearly the future of SDL development.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement