OGL: Get rid of error macros
Merge pull request #1409 from lioncash/err

OGL: Get rid of error macros