no directX mode

Archives Forums/Linux Discussion/no directX mode

Kernle 32DLL_2(Posted 2005) [#1]
hi

i tested
SetGraphicsDriver( D3D7Max2DDriver())

and i got the message "Identifier 'D3D7Max2DDriver' not found"
Opengl mode runs perfect, and yes i've installed the driver for my nvidia graphic card correctly. In generall linux doesn't support directX, only opengl. Or is it possible that my modules aren't compiled correctly? But all in all i got no error message during the compilation process...

Fr3eMaN


Shagwana(Posted 2005) [#2]
Linux does not support direct x, its a window only api.


Kernle 32DLL_2(Posted 2005) [#3]
yes, i know but why does this function exists under linux?

Fr3eMaN


JazzieB(Posted 2005) [#4]
I believe SetGraphicsDriver exists for future compatibility - if that makes sense. OK, so at the moment only an OpenGL renderer exists for Linux, but I believe there are one or two people working on wrappers for other drivers or drivers in their own right, a software renderer, for example. There was a thread around here somewhere that mentioned just such a thing.

For the moment, just use it for Windows' versions to either enforce or allow selectivity of one API or the other.