diff --git a/Source/OpenTK/Graphics/GraphicsContext.cs b/Source/OpenTK/Graphics/GraphicsContext.cs index 57a0934c..614e4ede 100644 --- a/Source/OpenTK/Graphics/GraphicsContext.cs +++ b/Source/OpenTK/Graphics/GraphicsContext.cs @@ -122,6 +122,17 @@ namespace OpenTK.Graphics } } + /// + /// Constructs a new GraphicsContext from a pre-existing context created outside of OpenTK. + /// + /// The handle of the existing context. This must be a valid, unique handle that is not known to OpenTK. + /// The window this context is bound to. This must be a valid window obtained through Utilities.CreateWindowInfo. + /// A different context that shares resources with this instance, if any. + /// Pass null if the context is not shared or if this is the first GraphicsContext instruct you construct. + /// The major version of the context (e.g. "2" for "2.1"). + /// The minor version of the context (e.g. "1" for "2.1"). + /// A bitwise combination of that describe this context. + /// Occurs if handle is identical to a context already registered with OpenTK. public GraphicsContext(ContextHandle handle, IWindowInfo window, IGraphicsContext shareContext, int major, int minor, GraphicsContextFlags flags) { lock (SyncRoot)