fixed compiler warning in OpenGLSystem