change the direct from OpenGL to Direct.