How do we .. choose different video

Archives Forums/Blitz3D SDK Programming/How do we .. choose different video

Zumwalt(Posted 2007) [#1]
I have multiple video drivers listed in my device manager, the SDK always uses the first one in the list, I want to use either the second or the third in the list. What method do I use to tell it to use a different driver? The first driver (and sometimes the second) are virtual drivers, the physical driver for the real video isn't until the second or the third.


monotonic(Posted 2008) [#2]
You can use this function, it takes the index of the driver you wish to use.

Blitz3DSDK.SetGfxDriver(driver_index);


Also, the following functions can be used to obtain information about the driver(s)

Blitz3DSDK.GfxDriver3D(driver_index);
Blitz3DSDK.GfxDriverCaps3D();
Blitz3DSDK.GfxDriverName(driver_index);