[ES][GL] Print name when loading bindings (debug only)
authorthefiddler <stapostol@gmail.com>
Thu, 26 Jun 2014 13:39:07 +0000 (15:39 +0200)
committerthefiddler <stapostol@gmail.com>
Wed, 16 Jul 2014 12:28:27 +0000 (14:28 +0200)
Source/OpenTK/Graphics/GraphicsBindingsBase.cs

index 237b878..79cd42b 100644 (file)
@@ -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();