From 35b63e777acb71f25bf3008cf7324adbb091c14e Mon Sep 17 00:00:00 2001 From: "Stefanos A." Date: Tue, 22 Oct 2013 21:10:14 +0200 Subject: [PATCH] Fixed version number on VertexAttribP1 methods (should be 3.3, not 1.2). --- .../Bind/Specifications/GL2/gloverrides.xml | 11 +++- Source/OpenTK/Graphics/OpenGL/GL.cs | 64 +++++++++---------- 2 files changed, 40 insertions(+), 35 deletions(-) diff --git a/Source/Bind/Specifications/GL2/gloverrides.xml b/Source/Bind/Specifications/GL2/gloverrides.xml index 2f80b865..28e047b2 100644 --- a/Source/Bind/Specifications/GL2/gloverrides.xml +++ b/Source/Bind/Specifications/GL2/gloverrides.xml @@ -520,6 +520,7 @@ + SamplerParameter @@ -641,24 +642,28 @@ + 3.3 PackedPointerType - + + 3.3 PackedPointerType - + + 3.3 PackedPointerType - + + 3.3 PackedPointerType diff --git a/Source/OpenTK/Graphics/OpenGL/GL.cs b/Source/OpenTK/Graphics/OpenGL/GL.cs index 14128a35..148aa583 100644 --- a/Source/OpenTK/Graphics/OpenGL/GL.cs +++ b/Source/OpenTK/Graphics/OpenGL/GL.cs @@ -114115,8 +114115,8 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP1ui")] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP1ui")] public static void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) { @@ -114130,9 +114130,9 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP1ui")] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP1ui")] public static void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) { @@ -114146,9 +114146,9 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP1uiv")] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP1uiv")] public static unsafe void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) { @@ -114162,9 +114162,9 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP1uiv")] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP1uiv")] public static unsafe void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) { @@ -114178,8 +114178,8 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP2ui")] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP2ui")] public static void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) { @@ -114193,9 +114193,9 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP2ui")] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP2ui")] public static void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) { @@ -114209,9 +114209,9 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP2uiv")] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP2uiv")] public static unsafe void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) { @@ -114225,9 +114225,9 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP2uiv")] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP2uiv")] public static unsafe void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) { @@ -114241,8 +114241,8 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP3ui")] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP3ui")] public static void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) { @@ -114256,9 +114256,9 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP3ui")] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP3ui")] public static void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) { @@ -114272,9 +114272,9 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP3uiv")] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP3uiv")] public static unsafe void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) { @@ -114288,9 +114288,9 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP3uiv")] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP3uiv")] public static unsafe void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) { @@ -114304,8 +114304,8 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP4ui")] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP4ui")] public static void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) { @@ -114319,9 +114319,9 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP4ui")] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP4ui")] public static void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) { @@ -114335,9 +114335,9 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP4uiv")] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP4uiv")] public static unsafe void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) { @@ -114351,9 +114351,9 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: v1.2 and ARB_vertex_type_2_10_10_10_rev] + /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev] [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "1.2", EntryPoint = "glVertexAttribP4uiv")] + [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev", Version = "3.3", EntryPoint = "glVertexAttribP4uiv")] public static unsafe void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) {