How to not require DirectX?

You rewrite the engine to use OpenGL.