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.

Local GraphicsSuccess:TGraphics = TGraphics(Graphics (642,480,32))

If GraphicsSuccess
 Notify "Graphics Mode Supported"
Else
 Notify "Graphics Mode Not Supported"
End If


Don't know why I have to cast the Graphics command since it's suppose to return a TGraphics object anyway, but it works.