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

Try to fix DllNotFoundException under .net 6 #32

Merged
merged 3 commits into from
Sep 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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