APIs Documented but Unavailable Until SDL 3.1.3 (Pre-Release)

For SDL3, I have a question. Generally, it’s rare to see documentation that’s ahead of the actual released version. In the SDL3 documentation, I’ve come across some exciting APIs, such as SDL_DelayPrecise and SDL_RenderDebugText. However, just as I was eager to try them, I found that they’re only available starting from version 3.2.0, while the currently available pre-release is only up to 3.1.3.

So, does this mean I need to build from the latest code myself?

These functions were added after SDL 3.1.3 was released so to test them you need to either wait until a new version of SDL is released or build it yourself.

1 Like

Thanks. I will try it.

I found a nice repo to save my life:

README.md of this repo:

Automatic weekly build of SDL3 and its helper libraries for 64-bit Windows (x64 and arm64).
Build produces shared libraries (.dll files) that are linked statically to their dependencies.
Download binary build as zip archive from latest release page.
To build locally run build.cmd batch file, make sure you have installed all necessary dependencies (see the beginning of file).

The following shows what is only available in 3.2.0.
Assuming you have the latest version from github.

.../SDL/include$ grep 3.2.0 -R
1 Like