Added error for unsupported call.

master
Camilla Berglund ago%!(EXTRA string=13 years)
parent 11143baa95
commit 311b9df102
  1. 3
      src/x11_egl_opengl.c

@ -531,6 +531,7 @@ GLFWglproc _glfwPlatformGetProcAddress(const char* procname)
void _glfwPlatformCopyContext(_GLFWwindow* src, _GLFWwindow* dst, unsigned long mask)
{
// AFAIK, EGL doesn't have this
_glfwSetError(GLFW_PLATFORM_ERROR,
"X11/EGL: Context copying not supported by EGL");
}

Loading…
Cancel
Save