Yeah, I only just noticed this yesterday. Microsoft doesn't seem to see fit to include opengl headers any newer than version 1.0. I tried using GLEW but that seems to screw up wxGLCanvas (probably because this uses the standard gl headers rather than glew which you have to replace them with, I guess).Gez wrote:I can't compile SLADE anymore. The calls to glBlendEquation() are the problem. It's an unknown identifier. I could solve the problem with its associated constants by #including glext.h, but that doesn't help with the function itself. Then I found out I could #define GL_GLEXT_PROTOTYPES before glext is included, but that merely changes the problem into a linker error. Search engine results tend to say that you have either to load the function directly with glwGetProcAddress() or go through GLEW which needs to be initialized before OpenGL itself is, etc.
Basically it's a horrible mess and I now understand why Direct3D is more popular when you only have to support Windows systems.
Edit: Ok should be fixed, it wasn't wxGLCanvas at all, just didn't know I needed to call glewInit().