mirror of
https://github.com/glfw/glfw.git
synced 2026-08-14 14:34:54 +02:00
Added error for unsupported call.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user