Merge pull request #215 from EricxDu/master

Update README.txt for SDL2 default
This commit is contained in:
Robert Beckebans 2015-02-09 17:07:18 +01:00
commit b8c2fcde53

View file

@ -174,7 +174,7 @@ _________________________
On Debian or Ubuntu:
> apt-get install cmake libsdl1.2-dev libopenal-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev
> apt-get install cmake libsdl2-dev libopenal-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev
On Fedora
@ -190,7 +190,7 @@ _________________________
"libffmpeg1-devel" requires the PackMan repository. If you don't have that repo, and don't want to add it, remove the "libffmpeg1-devel" option and compile without ffmpeg support.
If you have the repo and compiles with ffmpeg support, make sure you download "libffmpeg1-devel", and not "libffmpeg-devel".
Instead of SDL1.2 development files you can also use SDL2. Install SDL 2.0 and add to the cmake parameters -DSDL2=ON
Instead of SDL2 development files you can also use SDL1.2. Install SDL 1.2 and add to the cmake parameters -DSDL2=OFF
SDL2 has better input support (especially in the console) and better
support for multiple displays (especially in fullscreen mode).