mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 22:14:34 +00:00
Added error for unsupported call.
This commit is contained in:
parent
11143baa95
commit
311b9df102
@ -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…
Reference in New Issue
Block a user