[solved] Can't find CastleGLUtils.GLCurrentMultiSampling

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.

Thanks for reporting! We moved it to a read-only property inside the singleton GLFeatures, so it should be GLFeatures.CurrentMultiSampling.

Fixed in Fix API docs to lead to @link(TGLFeatures.CurrentMultiSampling GLFeat… · castle-engine/castle-engine@e3cdfe5 · GitHub , comment now says:

 You can read @link(TGLFeatures.CurrentMultiSampling GLFeatures.CurrentMultiSampling)
 after initializing the rendering context to know how many samples did you
 actually get (and did you get multi-sampling at all). }