|
|
|
@ -458,10 +458,10 @@ bool GlfwApplication::tryCreate(const Configuration& configuration, const GLConf |
|
|
|
} |
|
|
|
} |
|
|
|
#else |
|
|
|
#else |
|
|
|
glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_ES_API); |
|
|
|
glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_ES_API); |
|
|
|
|
|
|
|
#endif |
|
|
|
#ifdef MAGNUM_TARGET_EGL /* Force EGL if desired */ |
|
|
|
#ifdef MAGNUM_TARGET_EGL /* Force EGL if desired */ |
|
|
|
glfwWindowHint(GLFW_CONTEXT_CREATION_API, GLFW_EGL_CONTEXT_API); |
|
|
|
glfwWindowHint(GLFW_CONTEXT_CREATION_API, GLFW_EGL_CONTEXT_API); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Request usable version otherwise */ |
|
|
|
/* Request usable version otherwise */ |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
@ -485,10 +485,10 @@ bool GlfwApplication::tryCreate(const Configuration& configuration, const GLConf |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0); |
|
|
|
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0); |
|
|
|
glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_ES_API); |
|
|
|
glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_ES_API); |
|
|
|
|
|
|
|
#endif |
|
|
|
#ifdef MAGNUM_TARGET_EGL /* Force EGL if desired */ |
|
|
|
#ifdef MAGNUM_TARGET_EGL /* Force EGL if desired */ |
|
|
|
glfwWindowHint(GLFW_CONTEXT_CREATION_API, GLFW_EGL_CONTEXT_API); |
|
|
|
glfwWindowHint(GLFW_CONTEXT_CREATION_API, GLFW_EGL_CONTEXT_API); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* Create window. Hide it by default so we don't have distracting window
|
|
|
|
/* Create window. Hide it by default so we don't have distracting window
|
|
|
|
|