We have added the ability to turn on OpenGL support in our plugins, by including an OpenGLContext object in our main editor Component, and calling context.attachTo(*this) to turn it on. The user preference defaults to true (on). However, we have found that for some Windows users, something in their systems is causing the plugin window to show up as a blank window when this is turned on, and since the window does not draw, they cannot see where to click to turn the feature off. I do not know exactly what causes the window to show up as blank, so I don’t know any way to detect that it is (or will do so when the window opens). We’d like for this feature to default to true, but we can’t figure out a way to safely do that. Any ideas? Thanks!
(By the way, is it correct that all I have to do is call context.attachTo(*this), and all my drawing will use that context, including sub-components of the main editor?)