Revert "Check OpenGL error each frame"

This reverts commit 0602e65f74bd27b5b5cf0408e55db6866364f797.