GetCurrentDriver() ?

BlitzMax Forums/BlitzMax Programming/GetCurrentDriver() ?

If TGLMax2DDriver(_max2dDriver) then Print "I'm using GL"
I'm a bit confused as to what you're trying to do though.
SetGraphicsDriver GLMax2DDriver()
??

OR, are you trying to use raw GL?