Problem with Graphics?

BlitzMax Forums/BlitzMax Programming/Problem with Graphics?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Strict

SetGraphicsDriver GLMax2DDriver()

Try
Graphics 640, 480, 64, 60
Catch ex:Object
RuntimeError "Unable to open a graphics context"
End Try


When i do this, or try other video setting that the video card don't support, the exception don't display. And the program break out.

In Want to notify the user that the video card don't support the game video mode.

Try with one video mode and then try whit other.