Update requirements.
Remove OpenGL error checking function.
Add OpenGL error checking.