opengl: https://www.glfw.org/download.html direct3d: https://learn.microsoft.com/zh-cn/windows/win32/api/d3d9/nf-d3d9-idirect3d9-createdevice