Fixed stupid opengl warnings