Browse files

[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 as "OpenTK
1.1, and ambiguous functions."
  • Loading branch information...
1 parent 30571f7 commit 1c1607da5663be481ed4c9b71bd75aa14013e623 @thefiddler thefiddler committed Feb 12, 2014
Showing with 4 additions and 4 deletions.
  1. +4 −4 Source/OpenTK/OpenTK.csproj
8 Source/OpenTK/OpenTK.csproj
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="" ToolsVersion="4.0">
@@ -462,15 +462,15 @@
<Compile Include="Graphics\ColorFormat.cs">
- <Compile Include="Graphics\OpenGL\GLHelper.cs">
- <SubType>Code</SubType>
- </Compile>
<Compile Include="Graphics\OpenGL\GLEnums.cs">
<Compile Include="Graphics\OpenGL\GL.cs">
+ <Compile Include="Graphics\OpenGL\GLHelper.cs">
+ <SubType>Code</SubType>
+ </Compile>
<Compile Include="Graphics\OpenGL\ErrorHelper.cs">

0 comments on commit 1c1607d

Please sign in to comment.