示例#1
0
文件: testlib.go 项目: kebo/gorgasm
func check() {
	error := gl.GetError()
	if error != 0 {
		gorgasm.Logf("An error occurred! Code: 0x%x", error)
	}
}
示例#2
0
func check() {
	error := gl.GetError()
	if error != 0 {
		mandala.Logf("An error occurred! Code: 0x%x", error)
	}
}
示例#3
0
func check() {
	error := gl.GetError()
	if error != 0 {
		panic(fmt.Sprintf("An error occurred! Code: 0x%x", error))
	}
}