It’s actually a documentation bug, not the code (hopefully).
Recently I looked into Multisampling because my app has antialiasing when it didn’t suppose to have (aaNone, it is not because of CGE, no worries) and I found the following info
You can always read OpenGL GL_SAMPLE_BUFFERS_ARB ...
Actually, we already initialize global CastleGLUtils.GLCurrentMultiSampling ...
However, it doesn’t look like you have this global at all. I went through the includes, then checked on github but it’s nowhere there.
The text is shown in 2 comments
The same text landed on the documentation pages.