Browse Source

Platform: fix GLFW context creation on GL-less builds.

pull/368/head
Vladimír Vondruš 7 years ago
parent
commit
305454453d
  1. 2
      src/Magnum/Platform/GlfwApplication.cpp

2
src/Magnum/Platform/GlfwApplication.cpp

@ -256,7 +256,7 @@ bool GlfwApplication::tryCreate(const Configuration& configuration) {
#ifdef GLFW_NO_API
/* Disable implicit GL context creation */
glfwWindowHint(GLFW_CONTEXT_CREATION_API, GLFW_NO_API);
glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);
#endif
/* Create the window */

Loading…
Cancel
Save