I'm trying to get a light weight version of Open Cascade working in a GLFW window, however I'm having an error 'pixel format is invalid'.
I've followed this suggestion to create a PixelFormatDescriptor as done here https://stackoverflow.com/questions/50014602/wglcreatecontext-fails-with-error-the-pixel-format-is-invalid . However this involves creating a new OpenGL Context through windows wglCreateContext(), rather than use the OpenGl library in OpenCascade, using OpenGl_Context myContext = new OpenGl_Context().
For windows I'm sure I need to set the pixel format, but I'm unsure if I can create a context with these specifications through Open Cascade.
Source code is here. https://github.com/AliHasl/GLFW_OccT