GraphicsDriversAvail()

BlitzMax Forums/BlitzMax Programming/GraphicsDriversAvail()

So to clarify, would this work as i think it should?

if not GLMax2DDriver()
SetGraphicsDriver D3D7Max2DDriver()
else
SetGraphicsDriver GLMax2DDriver()
end if

Cheers
Charlie