Detect if OpenGL is present/works?

BlitzMax Forums/BlitzMax Beginners Area/Detect if OpenGL is present/works?

AngelDaniel thanks for all that info. Yeah I found out about the 0Hz thing on PCs a little while back. Basically my graphics code first checks GraphicsModeExists then checks the result of Graphics just in case. I was wondering if this line: SetGraphicsDriver GLMax2DDriver() can return any errors, maybe it won't until Graphics is called. Problem is not being able to test it. But I think I will bung a try catch round SetGraphicsDriver just in case, thanks.