Framework and Graphics problem

BlitzMax Forums/BlitzMax Programming/Framework and Graphics problem

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.

You also need to use either of these commands BEFORE the Graphics call:
SetGraphicsDriver GLMax2DDriver() ' Max OpenGL
SetGraphicsDriver D3D7Max2DDriver() ' Max DX

So, for Max OpenGL:
Framework BRL.GLMax2D
Import BRL.System
Import BRL.Retro
Import BRL.LinkedList

SetGraphicsDriver GLMax2DDriver()
Graphics 640,480

For Max DX:
Framework BRL.D3D7Max2D
Import BRL.System
Import BRL.Retro
Import BRL.LinkedList

SetGraphicsDriver D3D7Max2DDriver()
Graphics 640,480

(or look for framework assistant :-))
Thanks Dreamora! --- Tricrokra, see my link.