Anti-aliasing function setting didn''t take effect in CentOS system

Hello everyone, I used the following code to implement anti-aliasing, but it didn't work on Linux. Looking forward to your suggestions!

mView->ChangeRenderingParams().IsAntialiasingEnabled = true;
mView->ChangeRenderingParams().NbMsaaSamples = 4;