</a><h2>Description</h2><p>
            <code class="function">glGetError</code> returns the value of the error flag.
            Each detectable error is assigned a numeric code and symbolic name.
            When an error occurs,
            the error flag is set to the appropriate error code value.
            No other errors are recorded until <code class="function">glGetError</code> is called,
            the error code is returned,
            and the flag is reset to <code class="constant">GL_NO_ERRO