Revert "Add egl-flush-error-calls where required"

This reverts commit d77ff45fe78453b8c7163ccc93d82a89c297a91f.
Revert "Add gl error flushing helper function"

This reverts commit c9e94a7a80c24e51384fd81ec3bc330473b8ca12.
Rename get-error-calls: "glGetError()" -> "eglGetError()"
Remove error-flush call
Merge pull request #618 from matthiasbeyer/rewrite-egl_get_error

Rewrite error getting for egl