mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +01:00
e8a1be7748
This is a temporal fix until go-gl/glow#102 is applied.
34 lines
614 B
Go
34 lines
614 B
Go
// +build !windows
|
|
|
|
// Code generated by glow (https://github.com/go-gl/glow). DO NOT EDIT.
|
|
|
|
package gl
|
|
|
|
import "C"
|
|
import "unsafe"
|
|
|
|
type DebugProc func(
|
|
source uint32,
|
|
gltype uint32,
|
|
id uint32,
|
|
severity uint32,
|
|
length int32,
|
|
message string,
|
|
userParam unsafe.Pointer)
|
|
|
|
var userDebugCallback DebugProc
|
|
|
|
//export glowDebugCallback_gl21
|
|
func glowDebugCallback_gl21(
|
|
source uint32,
|
|
gltype uint32,
|
|
id uint32,
|
|
severity uint32,
|
|
length int32,
|
|
message *uint8,
|
|
userParam unsafe.Pointer) {
|
|
if userDebugCallback != nil {
|
|
userDebugCallback(source, gltype, id, severity, length, GoStr(message), userParam)
|
|
}
|
|
}
|