Problems width Framework

BlitzMax Forums/BlitzMax Beginners Area/Problems width Framework

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.


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.