switched from direct3d 11 to opengl