Remove OpenGL error checks that were causing errors.

The OpenGL error checks in those code itself raise OpenGL errors when
this code was called while building a display list (tracked using
bugle). Checks in this API is an overkill anyways. The called code
should to the checking if needed.

Change-Id: If1daaaa9a7c8c4131a11c2b6d52a10b9a18a162f
Merge topic 'remove_invalid_checks' into master

c19112e5 Remove OpenGL error checks that were causing errors.