Framework BRL.GlMax2D Import BRL.System Rem Very important as you only include the Gl Drivers but BMax uses DX as a standard in windows End Rem SetGraphicsDriver(GLMax2DDriver()) Graphics 640,480,32 While Not KeyHit(KEY_ESCAPE) Cls DrawText "Minimal 2D App!",0,0 Flip Wend
Thats because you have only included the BMax OpenGl Drivers .
But BMax runs with DX drivers on standard in Windows, so you have to switch to OpenGl before the Graphics command.