Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Try to fix DllNotFoundException under .net 6 (#32)
Browse files Browse the repository at this point in the history
* Try to fix DllNotFoundException under .net 6

Fixes #31
  • Loading branch information
dellis1972 authored Sep 17, 2021
1 parent 3de39a4 commit 95ab20b
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion OpenTK.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<_OpenTKNugetVersion>1.0.0</_OpenTKNugetVersion>
<_OpenTKNugetVersion>1.0.1</_OpenTKNugetVersion>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion Source/OpenTK/Graphics/ES10.Android/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace OpenTK.Graphics.ES10
/// </summary>
public sealed partial class GL : GraphicsBindingsBase
{
public const string Library = "libGLESv1_CM.dll";
public const string Library = "libGLESv1_CM";
static readonly object sync_root = new object();

#region --- Protected Members ---
Expand Down
2 changes: 1 addition & 1 deletion Source/OpenTK/Graphics/ES10/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace OpenTK.Graphics.ES10
/// </summary>
public sealed partial class GL : GraphicsBindingsBase
{
const string Library = "libGLES.dll";
const string Library = "libGLES";
static readonly object sync_root = new object();

#region --- Protected Members ---
Expand Down
2 changes: 1 addition & 1 deletion Source/OpenTK/Graphics/ES11.Android/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace OpenTK.Graphics.ES11

public sealed partial class GL : GraphicsBindingsBase
{
public const string Library = "libGLESv1_CM.dll";
public const string Library = "libGLESv1_CM";
static readonly object sync_root = new object();

#region --- Protected Members ---
Expand Down
2 changes: 1 addition & 1 deletion Source/OpenTK/Graphics/ES11/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace OpenTK.Graphics.ES11

public sealed partial class GL : GraphicsBindingsBase
{
public const string Library = "libGLES.dll";
public const string Library = "libGLES";
static readonly object sync_root = new object();

#region --- Protected Members ---
Expand Down
2 changes: 1 addition & 1 deletion Source/OpenTK/Graphics/ES20.Android/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace OpenTK.Graphics.ES20
/// </summary>
public sealed partial class GL : GraphicsBindingsBase
{
public const string Library = "libGLESv2.dll";
public const string Library = "libGLESv2";
static readonly object sync_root = new object();

#region --- Protected Members ---
Expand Down
2 changes: 1 addition & 1 deletion Source/OpenTK/Graphics/ES20/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace OpenTK.Graphics.ES20
/// </summary>
public sealed partial class GL : GraphicsBindingsBase
{
public const string Library = "libGLESv2.dll";
public const string Library = "libGLESv2";
static readonly object sync_root = new object();

#region --- Protected Members ---
Expand Down
2 changes: 1 addition & 1 deletion Source/OpenTK/Graphics/ES30.Android/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace OpenTK.Graphics.ES30
/// </summary>
public sealed partial class GL : GraphicsBindingsBase
{
public const string Library = "libGLESv2.dll";
public const string Library = "libGLESv3";
static readonly object sync_root = new object();

#region --- Protected Members ---
Expand Down
2 changes: 1 addition & 1 deletion Source/OpenTK/Graphics/ES31.Android/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace OpenTK.Graphics.ES31
/// </summary>
public sealed partial class GL : GraphicsBindingsBase
{
public const string Library = "libGLESv2.dll";
public const string Library = "libGLESv3";
static readonly object sync_root = new object();

#region --- Protected Members ---
Expand Down

0 comments on commit 95ab20b

Please sign in to comment.