CountGfxDrivers()

BlitzMax Forums/BlitzMax Programming/CountGfxDrivers()

Ferret(Posted 2010) [#1]
B3D has a function to get the graphic drivers.
Is it posible to do this in bMax?

I have a launcher, written in BMax, wich enables the user to select graphics and sound driver before starting a B3D game.


GfK(Posted 2010) [#2]
Doesn't Blitz3D only support DX7? Anyway...

If D3D7Max2DDriver()
  'DX7!
EndIf
If D3D9Max2DDriver()
  'DX9!
EndIf
If GLMax2DDriver()
  'OpenGL!
EndIf