mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-09 14:05:29 +00:00
[OpenTK] Make VB.Net overload resolution happy
GLHelper.cs contains a number of overloads that cannot be resolved by VB.Net. We cannot remove them, as that will break backward-compatibility, but we can hide them by moving them after the autogenerated overloads in GL.cs. Terrible hack, but it appears to work. Issue originally reported at http://www.opentk.com/node/3554 as "OpenTK 1.1, VB.net and ambiguous functions."
This commit is contained in:
parent
30571f7532
commit
1c1607da56
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<PropertyGroup>
|
||||
<ProjectType>Local</ProjectType>
|
||||
|
@ -462,15 +462,15 @@
|
|||
<Compile Include="Graphics\ColorFormat.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Graphics\OpenGL\GLHelper.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Graphics\OpenGL\GLEnums.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Graphics\OpenGL\GL.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Graphics\OpenGL\GLHelper.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Graphics\OpenGL\ErrorHelper.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
|
|
Loading…
Reference in a new issue