Removed invalid context hint checks.
These are documented as ignored for OpenGL ES contexts.
This commit is contained in:
parent
d90f5e0429
commit
6e9788a9e6
@ -166,22 +166,6 @@ GLboolean _glfwIsValidContextConfig(const _GLFWctxconfig* ctxconfig)
|
|||||||
{
|
{
|
||||||
// For now, let everything else through
|
// For now, let everything else through
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctxconfig->profile)
|
|
||||||
{
|
|
||||||
// OpenGL ES does not support profiles
|
|
||||||
_glfwInputError(GLFW_INVALID_VALUE,
|
|
||||||
"Context profiles are not supported by OpenGL ES");
|
|
||||||
return GL_FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ctxconfig->forward)
|
|
||||||
{
|
|
||||||
// OpenGL ES does not support forward-compatibility
|
|
||||||
_glfwInputError(GLFW_INVALID_VALUE,
|
|
||||||
"Forward compatibility is not supported by OpenGL ES");
|
|
||||||
return GL_FALSE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctxconfig->robustness)
|
if (ctxconfig->robustness)
|
||||||
|
Loading…
Reference in New Issue
Block a user