I am working on a plugin and I did so on Linux, now when I tried to compile it for Windows in my Virtual Box Windows image, I hit an access violation exception which is probably due to lack of driver support for OpenGL.
I’ve debugged it and hit an assertion which looks as follows:
jassert (context.extensions.glActiveTexture != nullptr);
My guess is that this could be avoided when I check for valid OpenGL support, I’ve read you do that with glGetString() to gather the current version of OpenGL, but I’ve also read that you can’t be sure this is working on all target platforms.
What would be the correct way to get around this issue?
And if glGetString() is the best way to do that, what is the minimum needed version?
