Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: Represent GLsync as uintptr, not unsafe.Pointer. #72

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions all-core/gl/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -7711,7 +7711,7 @@ func ClientActiveTexture(texture uint32) {
}

// block and wait for a sync object to become signaled
func ClientWaitSync(sync unsafe.Pointer, flags uint32, timeout uint64) uint32 {
func ClientWaitSync(sync uintptr, flags uint32, timeout uint64) uint32 {
ret := C.glowClientWaitSync(gpClientWaitSync, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout))
return (uint32)(ret)
}
Expand Down Expand Up @@ -7998,9 +7998,9 @@ func CreateShaderProgramv(xtype uint32, count int32, strings **uint8) uint32 {
ret := C.glowCreateShaderProgramv(gpCreateShaderProgramv, (C.GLenum)(xtype), (C.GLsizei)(count), (**C.GLchar)(unsafe.Pointer(strings)))
return (uint32)(ret)
}
func CreateSyncFromCLeventARB(context *C.struct__cl_context, event *C.struct__cl_event, flags uint32) unsafe.Pointer {
func CreateSyncFromCLeventARB(context *C.struct__cl_context, event *C.struct__cl_event, flags uint32) uintptr {
ret := C.glowCreateSyncFromCLeventARB(gpCreateSyncFromCLeventARB, (*C.struct__cl_context)(unsafe.Pointer(context)), (*C.struct__cl_event)(unsafe.Pointer(event)), (C.GLbitfield)(flags))
return (unsafe.Pointer)(ret)
return (uintptr)(ret)
}

// create texture objects
Expand Down Expand Up @@ -8108,7 +8108,7 @@ func DeleteShader(shader uint32) {
}

// delete a sync object
func DeleteSync(sync unsafe.Pointer) {
func DeleteSync(sync uintptr) {
C.glowDeleteSync(gpDeleteSync, (C.GLsync)(sync))
}

Expand Down Expand Up @@ -8386,9 +8386,9 @@ func FeedbackBuffer(size int32, xtype uint32, buffer *float32) {
}

// create a new sync object and insert it into the GL command stream
func FenceSync(condition uint32, flags uint32) unsafe.Pointer {
func FenceSync(condition uint32, flags uint32) uintptr {
ret := C.glowFenceSync(gpFenceSync, (C.GLenum)(condition), (C.GLbitfield)(flags))
return (unsafe.Pointer)(ret)
return (uintptr)(ret)
}

// block until all GL execution is complete
Expand Down Expand Up @@ -8975,7 +8975,7 @@ func GetSubroutineUniformLocation(program uint32, shadertype uint32, name *uint8
}

// query the properties of a sync object
func GetSynciv(sync unsafe.Pointer, pname uint32, bufSize int32, length *int32, values *int32) {
func GetSynciv(sync uintptr, pname uint32, bufSize int32, length *int32, values *int32) {
C.glowGetSynciv(gpGetSynciv, (C.GLsync)(sync), (C.GLenum)(pname), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLint)(unsafe.Pointer(values)))
}
func GetTexEnvfv(target uint32, pname uint32, params *float32) {
Expand Down Expand Up @@ -9369,7 +9369,7 @@ func IsShader(shader uint32) bool {
}

// determine if a name corresponds to a sync object
func IsSync(sync unsafe.Pointer) bool {
func IsSync(sync uintptr) bool {
ret := C.glowIsSync(gpIsSync, (C.GLsync)(sync))
return ret == TRUE
}
Expand Down Expand Up @@ -11479,7 +11479,7 @@ func ViewportIndexedfv(index uint32, v *float32) {
}

// instruct the GL server to block until the specified sync object becomes signaled
func WaitSync(sync unsafe.Pointer, flags uint32, timeout uint64) {
func WaitSync(sync uintptr, flags uint32, timeout uint64) {
C.glowWaitSync(gpWaitSync, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout))
}
func WindowPos2d(x float64, y float64) {
Expand Down
22 changes: 11 additions & 11 deletions v2.1/gl/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -18437,7 +18437,7 @@ func ClientAttribDefaultEXT(mask uint32) {
}

// block and wait for a sync object to become signaled
func ClientWaitSync(sync unsafe.Pointer, flags uint32, timeout uint64) uint32 {
func ClientWaitSync(sync uintptr, flags uint32, timeout uint64) uint32 {
ret := C.glowClientWaitSync(gpClientWaitSync, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout))
return (uint32)(ret)
}
Expand Down Expand Up @@ -19010,9 +19010,9 @@ func CreateShaderProgramvEXT(xtype uint32, count int32, strings **uint8) uint32
ret := C.glowCreateShaderProgramvEXT(gpCreateShaderProgramvEXT, (C.GLenum)(xtype), (C.GLsizei)(count), (**C.GLchar)(unsafe.Pointer(strings)))
return (uint32)(ret)
}
func CreateSyncFromCLeventARB(context *C.struct__cl_context, event *C.struct__cl_event, flags uint32) unsafe.Pointer {
func CreateSyncFromCLeventARB(context *C.struct__cl_context, event *C.struct__cl_event, flags uint32) uintptr {
ret := C.glowCreateSyncFromCLeventARB(gpCreateSyncFromCLeventARB, (*C.struct__cl_context)(unsafe.Pointer(context)), (*C.struct__cl_event)(unsafe.Pointer(event)), (C.GLbitfield)(flags))
return (unsafe.Pointer)(ret)
return (uintptr)(ret)
}

// create texture objects
Expand Down Expand Up @@ -19198,7 +19198,7 @@ func DeleteShader(shader uint32) {
}

// delete a sync object
func DeleteSync(sync unsafe.Pointer) {
func DeleteSync(sync uintptr) {
C.glowDeleteSync(gpDeleteSync, (C.GLsync)(sync))
}

Expand Down Expand Up @@ -19652,9 +19652,9 @@ func FeedbackBufferxOES(n int32, xtype uint32, buffer *int32) {
}

// create a new sync object and insert it into the GL command stream
func FenceSync(condition uint32, flags uint32) unsafe.Pointer {
func FenceSync(condition uint32, flags uint32) uintptr {
ret := C.glowFenceSync(gpFenceSync, (C.GLenum)(condition), (C.GLbitfield)(flags))
return (unsafe.Pointer)(ret)
return (uintptr)(ret)
}
func FinalCombinerInputNV(variable uint32, input uint32, mapping uint32, componentUsage uint32) {
C.glowFinalCombinerInputNV(gpFinalCombinerInputNV, (C.GLenum)(variable), (C.GLenum)(input), (C.GLenum)(mapping), (C.GLenum)(componentUsage))
Expand Down Expand Up @@ -21002,7 +21002,7 @@ func GetSubroutineUniformLocation(program uint32, shadertype uint32, name *uint8
}

// query the properties of a sync object
func GetSynciv(sync unsafe.Pointer, pname uint32, bufSize int32, length *int32, values *int32) {
func GetSynciv(sync uintptr, pname uint32, bufSize int32, length *int32, values *int32) {
C.glowGetSynciv(gpGetSynciv, (C.GLsync)(sync), (C.GLenum)(pname), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLint)(unsafe.Pointer(values)))
}
func GetTexBumpParameterfvATI(pname uint32, param *float32) {
Expand Down Expand Up @@ -21440,9 +21440,9 @@ func ImageTransformParameteriHP(target uint32, pname uint32, param int32) {
func ImageTransformParameterivHP(target uint32, pname uint32, params *int32) {
C.glowImageTransformParameterivHP(gpImageTransformParameterivHP, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params)))
}
func ImportSyncEXT(external_sync_type uint32, external_sync int, flags uint32) unsafe.Pointer {
func ImportSyncEXT(external_sync_type uint32, external_sync int, flags uint32) uintptr {
ret := C.glowImportSyncEXT(gpImportSyncEXT, (C.GLenum)(external_sync_type), (C.GLintptr)(external_sync), (C.GLbitfield)(flags))
return (unsafe.Pointer)(ret)
return (uintptr)(ret)
}
func IndexFormatNV(xtype uint32, stride int32) {
C.glowIndexFormatNV(gpIndexFormatNV, (C.GLenum)(xtype), (C.GLsizei)(stride))
Expand Down Expand Up @@ -21715,7 +21715,7 @@ func IsShader(shader uint32) bool {
}

// determine if a name corresponds to a sync object
func IsSync(sync unsafe.Pointer) bool {
func IsSync(sync uintptr) bool {
ret := C.glowIsSync(gpIsSync, (C.GLsync)(sync))
return ret == TRUE
}
Expand Down Expand Up @@ -26562,7 +26562,7 @@ func ViewportIndexedfv(index uint32, v *float32) {
}

// instruct the GL server to block until the specified sync object becomes signaled
func WaitSync(sync unsafe.Pointer, flags uint32, timeout uint64) {
func WaitSync(sync uintptr, flags uint32, timeout uint64) {
C.glowWaitSync(gpWaitSync, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout))
}
func WeightPathsNV(resultPath uint32, numPaths int32, paths *uint32, weights *float32) {
Expand Down
28 changes: 14 additions & 14 deletions v3.1/gles2/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -4634,11 +4634,11 @@ func ClearStencil(s int32) {
}

// block and wait for a sync object to become signaled
func ClientWaitSync(sync unsafe.Pointer, flags uint32, timeout uint64) uint32 {
func ClientWaitSync(sync uintptr, flags uint32, timeout uint64) uint32 {
ret := C.glowClientWaitSync(gpClientWaitSync, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout))
return (uint32)(ret)
}
func ClientWaitSyncAPPLE(sync unsafe.Pointer, flags uint32, timeout uint64) uint32 {
func ClientWaitSyncAPPLE(sync uintptr, flags uint32, timeout uint64) uint32 {
ret := C.glowClientWaitSyncAPPLE(gpClientWaitSyncAPPLE, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout))
return (uint32)(ret)
}
Expand Down Expand Up @@ -4834,10 +4834,10 @@ func DeleteShader(shader uint32) {
}

// delete a sync object
func DeleteSync(sync unsafe.Pointer) {
func DeleteSync(sync uintptr) {
C.glowDeleteSync(gpDeleteSync, (C.GLsync)(sync))
}
func DeleteSyncAPPLE(sync unsafe.Pointer) {
func DeleteSyncAPPLE(sync uintptr) {
C.glowDeleteSyncAPPLE(gpDeleteSyncAPPLE, (C.GLsync)(sync))
}

Expand Down Expand Up @@ -5049,13 +5049,13 @@ func ExtTexObjectStateOverrideiQCOM(target uint32, pname uint32, param int32) {
}

// create a new sync object and insert it into the GL command stream
func FenceSync(condition uint32, flags uint32) unsafe.Pointer {
func FenceSync(condition uint32, flags uint32) uintptr {
ret := C.glowFenceSync(gpFenceSync, (C.GLenum)(condition), (C.GLbitfield)(flags))
return (unsafe.Pointer)(ret)
return (uintptr)(ret)
}
func FenceSyncAPPLE(condition uint32, flags uint32) unsafe.Pointer {
func FenceSyncAPPLE(condition uint32, flags uint32) uintptr {
ret := C.glowFenceSyncAPPLE(gpFenceSyncAPPLE, (C.GLenum)(condition), (C.GLbitfield)(flags))
return (unsafe.Pointer)(ret)
return (uintptr)(ret)
}

// block until all GL execution is complete
Expand Down Expand Up @@ -5510,10 +5510,10 @@ func GetStringi(name uint32, index uint32) *uint8 {
}

// query the properties of a sync object
func GetSynciv(sync unsafe.Pointer, pname uint32, bufSize int32, length *int32, values *int32) {
func GetSynciv(sync uintptr, pname uint32, bufSize int32, length *int32, values *int32) {
C.glowGetSynciv(gpGetSynciv, (C.GLsync)(sync), (C.GLenum)(pname), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLint)(unsafe.Pointer(values)))
}
func GetSyncivAPPLE(sync unsafe.Pointer, pname uint32, bufSize int32, length *int32, values *int32) {
func GetSyncivAPPLE(sync uintptr, pname uint32, bufSize int32, length *int32, values *int32) {
C.glowGetSyncivAPPLE(gpGetSyncivAPPLE, (C.GLsync)(sync), (C.GLenum)(pname), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLint)(unsafe.Pointer(values)))
}
func GetTexLevelParameterfv(target uint32, level int32, pname uint32, params *float32) {
Expand Down Expand Up @@ -5709,11 +5709,11 @@ func IsShader(shader uint32) bool {
}

// determine if a name corresponds to a sync object
func IsSync(sync unsafe.Pointer) bool {
func IsSync(sync uintptr) bool {
ret := C.glowIsSync(gpIsSync, (C.GLsync)(sync))
return ret == TRUE
}
func IsSyncAPPLE(sync unsafe.Pointer) bool {
func IsSyncAPPLE(sync uintptr) bool {
ret := C.glowIsSyncAPPLE(gpIsSyncAPPLE, (C.GLsync)(sync))
return ret == TRUE
}
Expand Down Expand Up @@ -6676,10 +6676,10 @@ func Viewport(x int32, y int32, width int32, height int32) {
}

// instruct the GL server to block until the specified sync object becomes signaled
func WaitSync(sync unsafe.Pointer, flags uint32, timeout uint64) {
func WaitSync(sync uintptr, flags uint32, timeout uint64) {
C.glowWaitSync(gpWaitSync, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout))
}
func WaitSyncAPPLE(sync unsafe.Pointer, flags uint32, timeout uint64) {
func WaitSyncAPPLE(sync uintptr, flags uint32, timeout uint64) {
C.glowWaitSyncAPPLE(gpWaitSyncAPPLE, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout))
}

Expand Down
22 changes: 11 additions & 11 deletions v3.2-compatibility/gl/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -19375,7 +19375,7 @@ func ClientAttribDefaultEXT(mask uint32) {
}

// block and wait for a sync object to become signaled
func ClientWaitSync(sync unsafe.Pointer, flags uint32, timeout uint64) uint32 {
func ClientWaitSync(sync uintptr, flags uint32, timeout uint64) uint32 {
ret := C.glowClientWaitSync(gpClientWaitSync, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout))
return (uint32)(ret)
}
Expand Down Expand Up @@ -20021,9 +20021,9 @@ func CreateShaderProgramvEXT(xtype uint32, count int32, strings **uint8) uint32
ret := C.glowCreateShaderProgramvEXT(gpCreateShaderProgramvEXT, (C.GLenum)(xtype), (C.GLsizei)(count), (**C.GLchar)(unsafe.Pointer(strings)))
return (uint32)(ret)
}
func CreateSyncFromCLeventARB(context *C.struct__cl_context, event *C.struct__cl_event, flags uint32) unsafe.Pointer {
func CreateSyncFromCLeventARB(context *C.struct__cl_context, event *C.struct__cl_event, flags uint32) uintptr {
ret := C.glowCreateSyncFromCLeventARB(gpCreateSyncFromCLeventARB, (*C.struct__cl_context)(unsafe.Pointer(context)), (*C.struct__cl_event)(unsafe.Pointer(event)), (C.GLbitfield)(flags))
return (unsafe.Pointer)(ret)
return (uintptr)(ret)
}

// create texture objects
Expand Down Expand Up @@ -20209,7 +20209,7 @@ func DeleteShader(shader uint32) {
}

// delete a sync object
func DeleteSync(sync unsafe.Pointer) {
func DeleteSync(sync uintptr) {
C.glowDeleteSync(gpDeleteSync, (C.GLsync)(sync))
}

Expand Down Expand Up @@ -20685,9 +20685,9 @@ func FeedbackBufferxOES(n int32, xtype uint32, buffer *int32) {
}

// create a new sync object and insert it into the GL command stream
func FenceSync(condition uint32, flags uint32) unsafe.Pointer {
func FenceSync(condition uint32, flags uint32) uintptr {
ret := C.glowFenceSync(gpFenceSync, (C.GLenum)(condition), (C.GLbitfield)(flags))
return (unsafe.Pointer)(ret)
return (uintptr)(ret)
}
func FinalCombinerInputNV(variable uint32, input uint32, mapping uint32, componentUsage uint32) {
C.glowFinalCombinerInputNV(gpFinalCombinerInputNV, (C.GLenum)(variable), (C.GLenum)(input), (C.GLenum)(mapping), (C.GLenum)(componentUsage))
Expand Down Expand Up @@ -22113,7 +22113,7 @@ func GetSubroutineUniformLocation(program uint32, shadertype uint32, name *uint8
}

// query the properties of a sync object
func GetSynciv(sync unsafe.Pointer, pname uint32, bufSize int32, length *int32, values *int32) {
func GetSynciv(sync uintptr, pname uint32, bufSize int32, length *int32, values *int32) {
C.glowGetSynciv(gpGetSynciv, (C.GLsync)(sync), (C.GLenum)(pname), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLint)(unsafe.Pointer(values)))
}
func GetTexBumpParameterfvATI(pname uint32, param *float32) {
Expand Down Expand Up @@ -22616,9 +22616,9 @@ func ImageTransformParameteriHP(target uint32, pname uint32, param int32) {
func ImageTransformParameterivHP(target uint32, pname uint32, params *int32) {
C.glowImageTransformParameterivHP(gpImageTransformParameterivHP, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params)))
}
func ImportSyncEXT(external_sync_type uint32, external_sync int, flags uint32) unsafe.Pointer {
func ImportSyncEXT(external_sync_type uint32, external_sync int, flags uint32) uintptr {
ret := C.glowImportSyncEXT(gpImportSyncEXT, (C.GLenum)(external_sync_type), (C.GLintptr)(external_sync), (C.GLbitfield)(flags))
return (unsafe.Pointer)(ret)
return (uintptr)(ret)
}
func IndexFormatNV(xtype uint32, stride int32) {
C.glowIndexFormatNV(gpIndexFormatNV, (C.GLenum)(xtype), (C.GLsizei)(stride))
Expand Down Expand Up @@ -22895,7 +22895,7 @@ func IsShader(shader uint32) bool {
}

// determine if a name corresponds to a sync object
func IsSync(sync unsafe.Pointer) bool {
func IsSync(sync uintptr) bool {
ret := C.glowIsSync(gpIsSync, (C.GLsync)(sync))
return ret == TRUE
}
Expand Down Expand Up @@ -27964,7 +27964,7 @@ func ViewportIndexedfv(index uint32, v *float32) {
}

// instruct the GL server to block until the specified sync object becomes signaled
func WaitSync(sync unsafe.Pointer, flags uint32, timeout uint64) {
func WaitSync(sync uintptr, flags uint32, timeout uint64) {
C.glowWaitSync(gpWaitSync, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout))
}
func WeightPathsNV(resultPath uint32, numPaths int32, paths *uint32, weights *float32) {
Expand Down
18 changes: 9 additions & 9 deletions v3.2-core/gl/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -5408,7 +5408,7 @@ func ClearTexSubImage(texture uint32, level int32, xoffset int32, yoffset int32,
}

// block and wait for a sync object to become signaled
func ClientWaitSync(sync unsafe.Pointer, flags uint32, timeout uint64) uint32 {
func ClientWaitSync(sync uintptr, flags uint32, timeout uint64) uint32 {
ret := C.glowClientWaitSync(gpClientWaitSync, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout))
return (uint32)(ret)
}
Expand Down Expand Up @@ -5579,9 +5579,9 @@ func CreateShaderProgramv(xtype uint32, count int32, strings **uint8) uint32 {
ret := C.glowCreateShaderProgramv(gpCreateShaderProgramv, (C.GLenum)(xtype), (C.GLsizei)(count), (**C.GLchar)(unsafe.Pointer(strings)))
return (uint32)(ret)
}
func CreateSyncFromCLeventARB(context *C.struct__cl_context, event *C.struct__cl_event, flags uint32) unsafe.Pointer {
func CreateSyncFromCLeventARB(context *C.struct__cl_context, event *C.struct__cl_event, flags uint32) uintptr {
ret := C.glowCreateSyncFromCLeventARB(gpCreateSyncFromCLeventARB, (*C.struct__cl_context)(unsafe.Pointer(context)), (*C.struct__cl_event)(unsafe.Pointer(event)), (C.GLbitfield)(flags))
return (unsafe.Pointer)(ret)
return (uintptr)(ret)
}

// create texture objects
Expand Down Expand Up @@ -5684,7 +5684,7 @@ func DeleteShader(shader uint32) {
}

// delete a sync object
func DeleteSync(sync unsafe.Pointer) {
func DeleteSync(sync uintptr) {
C.glowDeleteSync(gpDeleteSync, (C.GLsync)(sync))
}

Expand Down Expand Up @@ -5889,9 +5889,9 @@ func EndTransformFeedback() {
}

// create a new sync object and insert it into the GL command stream
func FenceSync(condition uint32, flags uint32) unsafe.Pointer {
func FenceSync(condition uint32, flags uint32) uintptr {
ret := C.glowFenceSync(gpFenceSync, (C.GLenum)(condition), (C.GLbitfield)(flags))
return (unsafe.Pointer)(ret)
return (uintptr)(ret)
}

// block until all GL execution is complete
Expand Down Expand Up @@ -6398,7 +6398,7 @@ func GetSubroutineUniformLocation(program uint32, shadertype uint32, name *uint8
}

// query the properties of a sync object
func GetSynciv(sync unsafe.Pointer, pname uint32, bufSize int32, length *int32, values *int32) {
func GetSynciv(sync uintptr, pname uint32, bufSize int32, length *int32, values *int32) {
C.glowGetSynciv(gpGetSynciv, (C.GLsync)(sync), (C.GLenum)(pname), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLint)(unsafe.Pointer(values)))
}

Expand Down Expand Up @@ -6708,7 +6708,7 @@ func IsShader(shader uint32) bool {
}

// determine if a name corresponds to a sync object
func IsSync(sync unsafe.Pointer) bool {
func IsSync(sync uintptr) bool {
ret := C.glowIsSync(gpIsSync, (C.GLsync)(sync))
return ret == TRUE
}
Expand Down Expand Up @@ -8100,7 +8100,7 @@ func ViewportIndexedfv(index uint32, v *float32) {
}

// instruct the GL server to block until the specified sync object becomes signaled
func WaitSync(sync unsafe.Pointer, flags uint32, timeout uint64) {
func WaitSync(sync uintptr, flags uint32, timeout uint64) {
C.glowWaitSync(gpWaitSync, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout))
}

Expand Down
Loading