I use opengl, using the GLUT and GLEW libraries to create a plugin for a specific application.
This plugin does not start with a simple int main (argc, argv). Therefore, I cannot pass these values ββto glutInit ().
I tried something like this:
glutInit(0, NULL); <--- Crash GLenum err = glewInit();
But I crashed when I tried to call the glutInit () function. Can I restore these settings in some way so that it does not crash and can still use the Glut library .. ??
source share