From 839406aec4081deccfd2f835c0c53ed566bf8917 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 4 Nov 2009 17:14:57 +0000 Subject: [PATCH] Don't forget to load all bindings when constructing an external context - this constructor was added for precisely this reason, after all. --- Source/OpenTK/Graphics/GraphicsContext.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/OpenTK/Graphics/GraphicsContext.cs b/Source/OpenTK/Graphics/GraphicsContext.cs index 614e4ede..6737d38f 100644 --- a/Source/OpenTK/Graphics/GraphicsContext.cs +++ b/Source/OpenTK/Graphics/GraphicsContext.cs @@ -157,6 +157,8 @@ namespace OpenTK.Graphics } available_contexts.Add((implementation as IGraphicsContextInternal).Context, new WeakReference(this)); + + (this as IGraphicsContextInternal).LoadAll(); } }