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