sdl 1.2 and sdl 2.0

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
Posts: 1
Joined: 05 May 2019 10:14

sdl 1.2 and sdl 2.0

Post by nunotex » 05 May 2019 10:32


I play openttd on FreeBSD builded with sdl 1.2.15.

Is there any advantages/improvements if builded with newer sdl 2 version, related to rendering, image quality?

For what I've read openttd uses sdl 1.2 by default.

If there is advantages building it with newer sdl 2, then I can start testing it so FreeBSD port can be updated.


Nuno Teixeira

User avatar
Posts: 536
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: sdl 1.2 and sdl 2.0

Post by jfs » 05 May 2019 15:29

OpenTTD can't be built against SDL 2 currently, however there is an open pull request that will replace SDL 1.2 support with SDL 2 support.

All graphics blitting and combining in OpenTTD is done entirely in software, outside the video output driver (e.g. SDL, Win32, Quartz) so the visual quality should be exactly the same regardless of video driver used. The performance should also be very near the same regardless of video driver, as long as the graphics services from the OS/hardware are fast enough.

Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: Google Adsense [Bot] and 9 guests