mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 16:15:34 +00:00
[ES][GL] Print name when loading bindings (debug only)
This commit is contained in:
parent
d8adf92feb
commit
19b34446bb
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue