mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 03:45:31 +00:00
Hooked up new loading mechanism
This commit is contained in:
parent
657c447737
commit
fec958c8dc
|
@ -24,5 +24,14 @@ namespace OpenTK.Graphics.ES10
|
|||
|
||||
#endregion
|
||||
|
||||
internal override void LoadEntryPoints()
|
||||
{
|
||||
// nothing to do
|
||||
}
|
||||
|
||||
internal override bool LoadEntryPoint(string function)
|
||||
{
|
||||
return true; // nothing to do
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,6 +15,22 @@ namespace OpenTK.Graphics.ES11
|
|||
const string Library = "GLESv1_CM";
|
||||
static readonly object sync_root = new object();
|
||||
|
||||
static IntPtr[] EntryPoints;
|
||||
static string[] EntryPointNames;
|
||||
|
||||
#region Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a new instance.
|
||||
/// </summary>
|
||||
public GL()
|
||||
{
|
||||
EntryPointsInstance = EntryPoints;
|
||||
EntryPointNamesInstance = EntryPointNames;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region --- Protected Members ---
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -42,6 +42,22 @@ namespace OpenTK.Graphics.ES20
|
|||
const string Library = "libGLESv2.dll";
|
||||
static readonly object sync_root = new object();
|
||||
|
||||
static IntPtr[] EntryPoints;
|
||||
static string[] EntryPointNames;
|
||||
|
||||
#region Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a new instance.
|
||||
/// </summary>
|
||||
public GL()
|
||||
{
|
||||
EntryPointsInstance = EntryPoints;
|
||||
EntryPointNamesInstance = EntryPointNames;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region --- Protected Members ---
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -42,6 +42,22 @@ namespace OpenTK.Graphics.ES30
|
|||
const string Library = "libGLESv2.dll";
|
||||
static readonly object sync_root = new object();
|
||||
|
||||
static IntPtr[] EntryPoints;
|
||||
static string[] EntryPointNames;
|
||||
|
||||
#region Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a new instance.
|
||||
/// </summary>
|
||||
public GL()
|
||||
{
|
||||
EntryPointsInstance = EntryPoints;
|
||||
EntryPointNamesInstance = EntryPointNames;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region --- Protected Members ---
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -58,12 +58,20 @@ namespace OpenTK.Graphics.OpenGL
|
|||
static SortedList<string, bool> AvailableExtensions = new SortedList<string, bool>();
|
||||
static readonly object sync_root = new object();
|
||||
|
||||
static IntPtr[] EntryPoints;
|
||||
static string[] EntryPointNames;
|
||||
|
||||
#endregion
|
||||
|
||||
#region --- Constructor ---
|
||||
#region Constructors
|
||||
|
||||
static GL()
|
||||
/// <summary>
|
||||
/// Constructs a new instance.
|
||||
/// </summary>
|
||||
public GL()
|
||||
{
|
||||
EntryPointsInstance = EntryPoints;
|
||||
EntryPointNamesInstance = EntryPointNames;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
|
@ -42,6 +42,22 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
const string Library = "opengl32.dll";
|
||||
static readonly object sync_root = new object();
|
||||
|
||||
static IntPtr[] EntryPoints;
|
||||
static string[] EntryPointNames;
|
||||
|
||||
#region Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a new instance.
|
||||
/// </summary>
|
||||
public GL()
|
||||
{
|
||||
EntryPointsInstance = EntryPoints;
|
||||
EntryPointNamesInstance = EntryPointNames;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region --- Protected Members ---
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in a new issue