dont call glGetError() between glBegin() and glEnd()