[ES][GL] Print name when loading bindings (debug only)

This commit is contained in:
thefiddler 2014-06-26 15:39:07 +02:00
parent d8adf92feb
commit 19b34446bb

View file

@ -26,6 +26,7 @@
#endregion #endregion
using System; using System;
using System.Diagnostics;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace OpenTK.Graphics namespace OpenTK.Graphics
@ -84,6 +85,8 @@ namespace OpenTK.Graphics
// validation necessary.) // validation necessary.)
internal override void LoadEntryPoints() internal override void LoadEntryPoints()
{ {
Debug.Print("Loading entry points for {0}", GetType().FullName);
IGraphicsContext context = GraphicsContext.CurrentContext; IGraphicsContext context = GraphicsContext.CurrentContext;
if (context == null) if (context == null)
throw new GraphicsContextMissingException(); throw new GraphicsContextMissingException();