Defined opengl exists function