Without this commit my RenderSystem::mDriverVersion is 4.6, and with it it is only 3.0, thus now I'm crashing on this assert (this is old assert):
Code: Select all
OgreAssert(hasMinGLVersion(3, 3), "OpenGL 3.3 is not supported");
Code: Select all
OgreAssert(hasMinGLVersion(3, 3), "OpenGL 3.3 is not supported");
Code: Select all
int majorVersion;
int minorVersion = 0;
switch(mContextProfile) {
case CONTEXT_COMPATIBILITY:
profile = WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB;
majorVersion = 1;
break;
case CONTEXT_ES:
profile = WGL_CONTEXT_ES2_PROFILE_BIT_EXT;
majorVersion = 2;
break;
default:
profile = WGL_CONTEXT_CORE_PROFILE_BIT_ARB;
majorVersion = 3;
minorVersion = 3;
break;
}
int context_attribs[] = {
WGL_CONTEXT_MAJOR_VERSION_ARB, majorVersion,
WGL_CONTEXT_MINOR_VERSION_ARB, minorVersion,
WGL_CONTEXT_PROFILE_MASK_ARB, profile,
0
};