Find file
be86e16 May 1, 2013
11 lines (8 sloc) 218 Bytes
// +build !release
package gl
// handleErrors is used to call a user-specified error handler after each GL call
func (rc *Context) handleErrors() {
if rc.errorHandler != nil {
rc.errorHandler(rc)
}
}