From 7c85f82074adf2f22982df61f8c6469dcd07bc62 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 13:41:25 +0100 Subject: [PATCH] Generate legacy overloads for VertexAttrib1fv --- .../Specifications/GL2/overrides.xml | 15 ++++++++------- src/OpenTK/Graphics/ES20/ES20.cs | 2 ++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/Generator.Bind/Specifications/GL2/overrides.xml b/src/Generator.Bind/Specifications/GL2/overrides.xml index 6ef1a428..87dbbc33 100644 --- a/src/Generator.Bind/Specifications/GL2/overrides.xml +++ b/src/Generator.Bind/Specifications/GL2/overrides.xml @@ -5600,6 +5600,14 @@ + + + + + + + + @@ -5658,13 +5666,6 @@ PixelFormat - - - - 0 - - - diff --git a/src/OpenTK/Graphics/ES20/ES20.cs b/src/OpenTK/Graphics/ES20/ES20.cs index 800fffe1..84d001d5 100644 --- a/src/OpenTK/Graphics/ES20/ES20.cs +++ b/src/OpenTK/Graphics/ES20/ES20.cs @@ -17061,6 +17061,7 @@ namespace OpenTK.Graphics.ES20 /// [length: 1] /// Specifies the new values to be used for the specified vertex attribute. /// + [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] [CLSCompliant(false)] public static void VertexAttrib1(Int32 index, [CountAttribute(Count = 1)] Single[] v) { throw new BindingsNotRewrittenException(); } @@ -17087,6 +17088,7 @@ namespace OpenTK.Graphics.ES20 /// [length: 1] /// Specifies the new values to be used for the specified vertex attribute. /// + [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] [CLSCompliant(false)] public static void VertexAttrib1(UInt32 index, [CountAttribute(Count = 1)] Single[] v) { throw new BindingsNotRewrittenException(); }