From 6e9788a9e6a51883c2a5e8b816c48431cc3e9d8c Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sat, 7 Mar 2015 22:31:50 +0100 Subject: [PATCH] Removed invalid context hint checks. These are documented as ignored for OpenGL ES contexts. --- src/context.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/context.c b/src/context.c index f8b80085..72bb72a6 100644 --- a/src/context.c +++ b/src/context.c @@ -166,22 +166,6 @@ GLboolean _glfwIsValidContextConfig(const _GLFWctxconfig* ctxconfig) { // 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)