The maximum OpenGL version supported by Intel HD Graphics on Windows is the 4.0
However the solution rB75a759ea5e9a , makes GHOST accept the version 4.2 on Windows!
And this is causing problems. (See picture)
So the solution to this patch was to get the opengl version of the context created with wglCreateContext. Following the sample described here:
https://www.khronos.org/opengl/wiki/Creating_an_OpenGL_Context_(WGL)#Sample_Code:_Create_Render_Context.2C_Check_GL_VERSION
