From 311b9df1021b0327cb13be33e428e46bd89b6cf2 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 19 Jul 2012 22:11:45 +0200 Subject: [PATCH] Added error for unsupported call. --- src/x11_egl_opengl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/x11_egl_opengl.c b/src/x11_egl_opengl.c index e1eed5cd..52d00b97 100644 --- a/src/x11_egl_opengl.c +++ b/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"); }