Skip to content

Commit 8686d6f

Browse files
committed
mystery fns are from 3.3 compatibilty profile
1 parent c9c293a commit 8686d6f

File tree

1 file changed

+35
-31
lines changed

1 file changed

+35
-31
lines changed

src/bindings.zig

+35-31
Original file line numberDiff line numberDiff line change
@@ -1928,37 +1928,41 @@ pub var vertexAttribP3uiv: *const fn (index: Uint, type: Enum, normalized: Boole
19281928
pub var vertexAttribP4ui: *const fn (index: Uint, type: Enum, normalized: Boolean, value: Uint) callconv(.C) void = undefined;
19291929
pub var vertexAttribP4uiv: *const fn (index: Uint, type: Enum, normalized: Boolean, value: *const Uint) callconv(.C) void = undefined;
19301930

1931-
// TODO: Where do these belong?
1932-
// pub var vertexP2ui: *const fn (type: Enum, value: Uint) callconv(.C) void = undefined;
1933-
// pub var vertexP2uiv: *const fn (type: Enum, value: *const Uint) callconv(.C) void = undefined;
1934-
// pub var vertexP3ui: *const fn (type: Enum, value: Uint) callconv(.C) void = undefined;
1935-
// pub var vertexP3uiv: *const fn (type: Enum, value: *const Uint) callconv(.C) void = undefined;
1936-
// pub var vertexP4ui: *const fn (type: Enum, value: Uint) callconv(.C) void = undefined;
1937-
// pub var vertexP4uiv: *const fn (type: Enum, value: *const Uint) callconv(.C) void = undefined;
1938-
// pub var texCoordP1ui: *const fn (type: Enum, coords: Uint) callconv(.C) void = undefined;
1939-
// pub var texCoordP1uiv: *const fn (type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1940-
// pub var texCoordP2ui: *const fn (type: Enum, coords: Uint) callconv(.C) void = undefined;
1941-
// pub var texCoordP2uiv: *const fn (type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1942-
// pub var texCoordP3ui: *const fn (type: Enum, coords: Uint) callconv(.C) void = undefined;
1943-
// pub var texCoordP3uiv: *const fn (type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1944-
// pub var texCoordP4ui: *const fn (type: Enum, coords: Uint) callconv(.C) void = undefined;
1945-
// pub var texCoordP4uiv: *const fn (type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1946-
// pub var multiTexCoordP1ui: *const fn (texture: Enum, type: Enum, coords: Uint) callconv(.C) void = undefined;
1947-
// pub var multiTexCoordP1uiv: *const fn (texture: Enum, type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1948-
// pub var multiTexCoordP2ui: *const fn (texture: Enum, type: Enum, coords: Uint) callconv(.C) void = undefined;
1949-
// pub var multiTexCoordP2uiv: *const fn (texture: Enum, type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1950-
// pub var multiTexCoordP3ui: *const fn (texture: Enum, type: Enum, coords: Uint) callconv(.C) void = undefined;
1951-
// pub var multiTexCoordP3uiv: *const fn (texture: Enum, type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1952-
// pub var multiTexCoordP4ui: *const fn (texture: Enum, type: Enum, coords: Uint) callconv(.C) void = undefined;
1953-
// pub var multiTexCoordP4uiv: *const fn (texture: Enum, type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1954-
// pub var normalP3ui: *const fn (type: Enum, coords: Uint) callconv(.C) void = undefined;
1955-
// pub var normalP3uiv: *const fn (type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1956-
// pub var colorP3ui: *const fn (type: Enum, color: Uint) callconv(.C) void = undefined;
1957-
// pub var colorP3uiv: *const fn (type: Enum, color: *const Uint) callconv(.C) void = undefined;
1958-
// pub var colorP4ui: *const fn (type: Enum, color: Uint) callconv(.C) void = undefined;
1959-
// pub var colorP4uiv: *const fn (type: Enum, color: *const Uint) callconv(.C) void = undefined;
1960-
// pub var secondaryColorP3ui: *const fn (type: Enum, color: Uint) callconv(.C) void = undefined;
1961-
// pub var secondaryColorP3uiv: *const fn (type: Enum, color: *const Uint) callconv(.C) void = undefined;
1931+
//--------------------------------------------------------------------------------------------------
1932+
//
1933+
// OpenGL 3.3 (Compatibility Profile)
1934+
//
1935+
//--------------------------------------------------------------------------------------------------
1936+
pub var vertexP2ui: *const fn (type: Enum, value: Uint) callconv(.C) void = undefined;
1937+
pub var vertexP2uiv: *const fn (type: Enum, value: *const Uint) callconv(.C) void = undefined;
1938+
pub var vertexP3ui: *const fn (type: Enum, value: Uint) callconv(.C) void = undefined;
1939+
pub var vertexP3uiv: *const fn (type: Enum, value: *const Uint) callconv(.C) void = undefined;
1940+
pub var vertexP4ui: *const fn (type: Enum, value: Uint) callconv(.C) void = undefined;
1941+
pub var vertexP4uiv: *const fn (type: Enum, value: *const Uint) callconv(.C) void = undefined;
1942+
pub var texCoordP1ui: *const fn (type: Enum, coords: Uint) callconv(.C) void = undefined;
1943+
pub var texCoordP1uiv: *const fn (type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1944+
pub var texCoordP2ui: *const fn (type: Enum, coords: Uint) callconv(.C) void = undefined;
1945+
pub var texCoordP2uiv: *const fn (type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1946+
pub var texCoordP3ui: *const fn (type: Enum, coords: Uint) callconv(.C) void = undefined;
1947+
pub var texCoordP3uiv: *const fn (type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1948+
pub var texCoordP4ui: *const fn (type: Enum, coords: Uint) callconv(.C) void = undefined;
1949+
pub var texCoordP4uiv: *const fn (type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1950+
pub var multiTexCoordP1ui: *const fn (texture: Enum, type: Enum, coords: Uint) callconv(.C) void = undefined;
1951+
pub var multiTexCoordP1uiv: *const fn (texture: Enum, type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1952+
pub var multiTexCoordP2ui: *const fn (texture: Enum, type: Enum, coords: Uint) callconv(.C) void = undefined;
1953+
pub var multiTexCoordP2uiv: *const fn (texture: Enum, type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1954+
pub var multiTexCoordP3ui: *const fn (texture: Enum, type: Enum, coords: Uint) callconv(.C) void = undefined;
1955+
pub var multiTexCoordP3uiv: *const fn (texture: Enum, type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1956+
pub var multiTexCoordP4ui: *const fn (texture: Enum, type: Enum, coords: Uint) callconv(.C) void = undefined;
1957+
pub var multiTexCoordP4uiv: *const fn (texture: Enum, type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1958+
pub var normalP3ui: *const fn (type: Enum, coords: Uint) callconv(.C) void = undefined;
1959+
pub var normalP3uiv: *const fn (type: Enum, coords: *const Uint) callconv(.C) void = undefined;
1960+
pub var colorP3ui: *const fn (type: Enum, color: Uint) callconv(.C) void = undefined;
1961+
pub var colorP3uiv: *const fn (type: Enum, color: *const Uint) callconv(.C) void = undefined;
1962+
pub var colorP4ui: *const fn (type: Enum, color: Uint) callconv(.C) void = undefined;
1963+
pub var colorP4uiv: *const fn (type: Enum, color: *const Uint) callconv(.C) void = undefined;
1964+
pub var secondaryColorP3ui: *const fn (type: Enum, color: Uint) callconv(.C) void = undefined;
1965+
pub var secondaryColorP3uiv: *const fn (type: Enum, color: *const Uint) callconv(.C) void = undefined;
19621966

19631967
//--------------------------------------------------------------------------------------------------
19641968
//

0 commit comments

Comments
 (0)