Multisampling maximum available samples
-
I have to enable multismpling to have better rendering in qml animations like rotations:
without enabled multismpling:

whith enabled multisampling:

After i set samples in QSurfaceFormat defaultf ormat :
QSurfaceFormat format; format.setSamples(8); QSurfaceFormat::setDefaultFormat(format);It going to this error on some machines

How to get maximum available samples in QSurfaceFormat on each machine? or How to make sure multisampling is supported or not?
-
I have the exact same question. Any luck?