Made sure to not do unneccessary glGetError

glGetError causes a glFlush which is not recommended unless absolutely
neccessary.