From 19b34446bbbc4e259e49ce755142b03677631769 Mon Sep 17 00:00:00 2001 From: thefiddler Date: Thu, 26 Jun 2014 15:39:07 +0200 Subject: [PATCH] [ES][GL] Print name when loading bindings (debug only) --- Source/OpenTK/Graphics/GraphicsBindingsBase.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/OpenTK/Graphics/GraphicsBindingsBase.cs b/Source/OpenTK/Graphics/GraphicsBindingsBase.cs index 237b8783..79cd42b6 100644 --- a/Source/OpenTK/Graphics/GraphicsBindingsBase.cs +++ b/Source/OpenTK/Graphics/GraphicsBindingsBase.cs @@ -26,6 +26,7 @@ #endregion using System; +using System.Diagnostics; using System.Runtime.InteropServices; namespace OpenTK.Graphics @@ -84,6 +85,8 @@ namespace OpenTK.Graphics // validation necessary.) internal override void LoadEntryPoints() { + Debug.Print("Loading entry points for {0}", GetType().FullName); + IGraphicsContext context = GraphicsContext.CurrentContext; if (context == null) throw new GraphicsContextMissingException();