Example #1
0
func check() {
	error := gl.GetError()
	if error != 0 {
		gorgasm.Logf("An error occurred! Code: 0x%x", error)
	}
}
Example #2
0
func check() {
	error := gl.GetError()
	if error != 0 {
		mandala.Logf("An error occurred! Code: 0x%x", error)
	}
}
Example #3
0
func check() {
	error := gl.GetError()
	if error != 0 {
		panic(fmt.Sprintf("An error occurred! Code: 0x%x", error))
	}
}