Is it possible to setup SDL for triple buffering ?
If so, how to do it since SDL only have a SDL_DOUBLEBUF
constant.
You have to activate triple buffering in the driver configuration, not in SDL.
For example, on linux with an nVidia graphics card you have to enable the X.Org TripleBuffer option:
Option "TripleBuffer" "1"
When you use SDL double buffering with vsync and hardware surfaces then the driver will use triple buffering if it supports it and it is enabled in the configuration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With