OpenGLDevice cleanup