Why GfxDriverName gives different results in Blitz+ and Blits3d?

Blitz3D Forums/Blitz3D Programming/Why GfxDriverName gives different results in Blitz+ and Blits3d?

Mikle(Posted 2003) [#1]
As I just have found, GfxDriverName() gives different results in Blitz3d and Blitz+.

In Blitz3d it returns only one name -- native driver, taken from the system (because I see it in Russian).

In Blitz+ it returns 3 names -- Native, OpenGL and DirectDraw.

The questions arise:

1) Where does Blitz+ takes the names of the drivers and where are they placed? (I assume that they are somewhere in Blitz+ files or directories.)

2) If there are really 3 drivers on my machine, why Blitz3d doesn't see them all?

3) How can I set the DirectDraw driver from Blitz3d if i REALLY need it?

Does anybody know the answers?

Thanks in advance.


Kanati(Posted 2003) [#2]
B3D is always going to use DirectDraw... Not sure why B+ would show everything else...


Kuron(Posted 2003) [#3]
1. It refers to the drivers installed on the system, DX, OGL, etc
2. Blitz 3D does not "see" OGL because B3D can only use DX. Blitz Plus can use DX, or it can use opengl or it can use Mark's "native" driver which does software rendering.


FlameDuck(Posted 2003) [#4]
Question 3 for 400 please Alex.
3) How can I set the DirectDraw driver from Blitz3d if i REALLY need it?
If you had a (not very good -Ed) card (like a Voodoo 2) or a second PCI graphics card, you would indeed get two Drivers. I believe the start.bb example program includes code to choose output device.
Not sure why B+ would show everything else...
Because in Blitz+ you have a wider selection of output APIs.