mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Merge pull request #1230 from jockus/master
Convert all vendor:OpenGL functions taking GLboolean to bool
This commit is contained in:
Vendored
+14
-14
@@ -83,8 +83,8 @@ impl_ClearColor: proc "c" (red: f32, green: f32, blue: f32, alpha: f
|
||||
impl_ClearStencil: proc "c" (s: i32)
|
||||
impl_ClearDepth: proc "c" (depth: f64)
|
||||
impl_StencilMask: proc "c" (mask: u32)
|
||||
impl_ColorMask: proc "c" (red: u8, green: u8, blue: u8, alpha: u8)
|
||||
impl_DepthMask: proc "c" (flag: u8)
|
||||
impl_ColorMask: proc "c" (red: bool, green: bool, blue: bool, alpha: bool)
|
||||
impl_DepthMask: proc "c" (flag: bool)
|
||||
impl_Disable: proc "c" (cap: u32)
|
||||
impl_Enable: proc "c" (cap: u32)
|
||||
impl_Finish: proc "c" ()
|
||||
@@ -214,7 +214,7 @@ load_1_2 :: proc(set_proc_address: Set_Proc_Address_Type) {
|
||||
|
||||
// VERSION_1_3
|
||||
impl_ActiveTexture: proc "c" (texture: u32)
|
||||
impl_SampleCoverage: proc "c" (value: f32, invert: u8)
|
||||
impl_SampleCoverage: proc "c" (value: f32, invert: bool)
|
||||
impl_CompressedTexImage3D: proc "c" (target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, imageSize: i32, data: rawptr)
|
||||
impl_CompressedTexImage2D: proc "c" (target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, imageSize: i32, data: rawptr)
|
||||
impl_CompressedTexImage1D: proc "c" (target: u32, level: i32, internalformat: u32, width: i32, border: i32, imageSize: i32, data: rawptr)
|
||||
@@ -516,7 +516,7 @@ load_2_1 :: proc(set_proc_address: Set_Proc_Address_Type) {
|
||||
|
||||
|
||||
// VERSION_3_0
|
||||
impl_ColorMaski: proc "c" (index: u32, r: u8, g: u8, b: u8, a: u8)
|
||||
impl_ColorMaski: proc "c" (index: u32, r: bool, g: bool, b: bool, a: bool)
|
||||
impl_GetBooleani_v: proc "c" (target: u32, index: u32, data: ^bool)
|
||||
impl_GetIntegeri_v: proc "c" (target: u32, index: u32, data: ^i32)
|
||||
impl_Enablei: proc "c" (target: u32, index: u32)
|
||||
@@ -735,8 +735,8 @@ impl_GetSynciv: proc "c" (sync: sync_t, pname: u32, bufSiz
|
||||
impl_GetInteger64i_v: proc "c" (target: u32, index: u32, data: ^i64)
|
||||
impl_GetBufferParameteri64v: proc "c" (target: u32, pname: u32, params: [^]i64)
|
||||
impl_FramebufferTexture: proc "c" (target: u32, attachment: u32, texture: u32, level: i32)
|
||||
impl_TexImage2DMultisample: proc "c" (target: u32, samples: i32, internalformat: u32, width: i32, height: i32, fixedsamplelocations: b8)
|
||||
impl_TexImage3DMultisample: proc "c" (target: u32, samples: i32, internalformat: u32, width: i32, height: i32, depth: i32, fixedsamplelocations: b8)
|
||||
impl_TexImage2DMultisample: proc "c" (target: u32, samples: i32, internalformat: u32, width: i32, height: i32, fixedsamplelocations: bool)
|
||||
impl_TexImage3DMultisample: proc "c" (target: u32, samples: i32, internalformat: u32, width: i32, height: i32, depth: i32, fixedsamplelocations: bool)
|
||||
impl_GetMultisamplefv: proc "c" (pname: u32, index: u32, val: ^f32)
|
||||
impl_SampleMaski: proc "c" (maskNumber: u32, mask: u32)
|
||||
|
||||
@@ -1186,7 +1186,7 @@ impl_DrawElementsInstancedBaseInstance: proc "c" (mode: u32, count: i3
|
||||
impl_DrawElementsInstancedBaseVertexBaseInstance: proc "c" (mode: u32, count: i32, type: u32, indices: rawptr, instancecount: i32, basevertex: i32, baseinstance: u32)
|
||||
impl_GetInternalformativ: proc "c" (target: u32, internalformat: u32, pname: u32, bufSize: i32, params: [^]i32)
|
||||
impl_GetActiveAtomicCounterBufferiv: proc "c" (program: u32, bufferIndex: u32, pname: u32, params: [^]i32)
|
||||
impl_BindImageTexture: proc "c" (unit: u32, texture: u32, level: i32, layered: b8, layer: i32, access: u32, format: u32)
|
||||
impl_BindImageTexture: proc "c" (unit: u32, texture: u32, level: i32, layered: bool, layer: i32, access: u32, format: u32)
|
||||
impl_MemoryBarrier: proc "c" (barriers: u32)
|
||||
impl_TexStorage1D: proc "c" (target: u32, levels: i32, internalformat: u32, width: i32)
|
||||
impl_TexStorage2D: proc "c" (target: u32, levels: i32, internalformat: u32, width: i32, height: i32)
|
||||
@@ -1240,8 +1240,8 @@ impl_GetProgramResourceLocation: proc "c" (program: u32, programInterface:
|
||||
impl_GetProgramResourceLocationIndex: proc "c" (program: u32, programInterface: u32, name: cstring) -> i32
|
||||
impl_ShaderStorageBlockBinding: proc "c" (program: u32, storageBlockIndex: u32, storageBlockBinding: u32)
|
||||
impl_TexBufferRange: proc "c" (target: u32, internalformat: u32, buffer: u32, offset: int, size: int)
|
||||
impl_TexStorage2DMultisample: proc "c" (target: u32, samples: i32, internalformat: u32, width: i32, height: i32, fixedsamplelocations: b8)
|
||||
impl_TexStorage3DMultisample: proc "c" (target: u32, samples: i32, internalformat: u32, width: i32, height: i32, depth: i32, fixedsamplelocations: b8)
|
||||
impl_TexStorage2DMultisample: proc "c" (target: u32, samples: i32, internalformat: u32, width: i32, height: i32, fixedsamplelocations: bool)
|
||||
impl_TexStorage3DMultisample: proc "c" (target: u32, samples: i32, internalformat: u32, width: i32, height: i32, depth: i32, fixedsamplelocations: bool)
|
||||
impl_TextureView: proc "c" (texture: u32, target: u32, origtexture: u32, internalformat: u32, minlevel: u32, numlevels: u32, minlayer: u32, numlayers: u32)
|
||||
impl_BindVertexBuffer: proc "c" (bindingindex: u32, buffer: u32, offset: int, stride: i32)
|
||||
impl_VertexAttribFormat: proc "c" (attribindex: u32, size: i32, type: u32, normalized: bool, relativeoffset: u32)
|
||||
@@ -1249,7 +1249,7 @@ impl_VertexAttribIFormat: proc "c" (attribindex: u32, size: i32, typ
|
||||
impl_VertexAttribLFormat: proc "c" (attribindex: u32, size: i32, type: u32, relativeoffset: u32)
|
||||
impl_VertexAttribBinding: proc "c" (attribindex: u32, bindingindex: u32)
|
||||
impl_VertexBindingDivisor: proc "c" (bindingindex: u32, divisor: u32)
|
||||
impl_DebugMessageControl: proc "c" (source: u32, type: u32, severity: u32, count: i32, ids: [^]u32, enabled: b8)
|
||||
impl_DebugMessageControl: proc "c" (source: u32, type: u32, severity: u32, count: i32, ids: [^]u32, enabled: bool)
|
||||
impl_DebugMessageInsert: proc "c" (source: u32, type: u32, id: u32, severity: u32, length: i32, buf: [^]u8)
|
||||
impl_DebugMessageCallback: proc "c" (callback: debug_proc_t, userParam: rawptr)
|
||||
impl_GetDebugMessageLog: proc "c" (count: u32, bufSize: i32, sources: [^]u32, types: [^]u32, ids: [^]u32, severities: [^]u32, lengths: [^]i32, messageLog: [^]u8) -> u32
|
||||
@@ -1380,8 +1380,8 @@ impl_TextureBufferRange: proc "c" (texture: u32, internalf
|
||||
impl_TextureStorage1D: proc "c" (texture: u32, levels: i32, internalformat: u32, width: i32)
|
||||
impl_TextureStorage2D: proc "c" (texture: u32, levels: i32, internalformat: u32, width: i32, height: i32)
|
||||
impl_TextureStorage3D: proc "c" (texture: u32, levels: i32, internalformat: u32, width: i32, height: i32, depth: i32)
|
||||
impl_TextureStorage2DMultisample: proc "c" (texture: u32, samples: i32, internalformat: u32, width: i32, height: i32, fixedsamplelocations: b8)
|
||||
impl_TextureStorage3DMultisample: proc "c" (texture: u32, samples: i32, internalformat: u32, width: i32, height: i32, depth: i32, fixedsamplelocations: b8)
|
||||
impl_TextureStorage2DMultisample: proc "c" (texture: u32, samples: i32, internalformat: u32, width: i32, height: i32, fixedsamplelocations: bool)
|
||||
impl_TextureStorage3DMultisample: proc "c" (texture: u32, samples: i32, internalformat: u32, width: i32, height: i32, depth: i32, fixedsamplelocations: bool)
|
||||
impl_TextureSubImage1D: proc "c" (texture: u32, level: i32, xoffset: i32, width: i32, format: u32, type: u32, pixels: rawptr)
|
||||
impl_TextureSubImage2D: proc "c" (texture: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type: u32, pixels: rawptr)
|
||||
impl_TextureSubImage3D: proc "c" (texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type: u32, pixels: rawptr)
|
||||
@@ -1449,8 +1449,8 @@ impl_GetnPolygonStipple: proc "c" (bufSize: i32, pattern:
|
||||
impl_GetnColorTable: proc "c" (target: u32, format: u32, type: u32, bufSize: i32, table: rawptr)
|
||||
impl_GetnConvolutionFilter: proc "c" (target: u32, format: u32, type: u32, bufSize: i32, image: rawptr)
|
||||
impl_GetnSeparableFilter: proc "c" (target: u32, format: u32, type: u32, rowBufSize: i32, row: rawptr, columnBufSize: i32, column: rawptr, span: rawptr)
|
||||
impl_GetnHistogram: proc "c" (target: u32, reset: u8, format: u32, type: u32, bufSize: i32, values: rawptr)
|
||||
impl_GetnMinmax: proc "c" (target: u32, reset: u8, format: u32, type: u32, bufSize: i32, values: rawptr)
|
||||
impl_GetnHistogram: proc "c" (target: u32, reset: bool, format: u32, type: u32, bufSize: i32, values: rawptr)
|
||||
impl_GetnMinmax: proc "c" (target: u32, reset: bool, format: u32, type: u32, bufSize: i32, values: rawptr)
|
||||
impl_TextureBarrier: proc "c" ()
|
||||
impl_GetUnsignedBytevEXT: proc "c" (pname: u32, data: ^byte)
|
||||
impl_TexPageCommitmentARB: proc "c" (target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, commit: bool)
|
||||
|
||||
Reference in New Issue
Block a user