GetCurrentDriver() ?

BlitzMax Forums/BlitzMax Programming/GetCurrentDriver() ?

Most time I'm using my own system (pure GL), so I'm initializing graphics with glgraphics ().

I've written a debug/profiler-mod which outputs to the screen and I want to keep this working with every app (no matter if it uses max2d/rawgl). So somehow I have to detect if the main-app is using max2d (then I can use DrawText) or RawGL (then I would use glDrawText) - or is there a "global" DrawText-function that works with every mode?

Hopefully this clearifies my problem.