SetGraphicsDriver - error

BlitzMax Forums/BlitzMax Beginners Area/SetGraphicsDriver - error

pete03(Posted 2011) [#1]
Using 'SetGraphicsDriver GLMax2DDriver()' gives an error
"Identifier 'GLMax2DDriver' not found"
Am I missing something - could somebody please explain?


GfK(Posted 2011) [#2]
You're probably using Framework and not Importing BRL.GLMax2D.


pete03(Posted 2011) [#3]
Yes thats correct

SuperStrict

Framework brl.max2d
Import rigz.timelinefx
Import rigz.tweener

'my personal preference is openGL but dx7 and 9 work too.
SetGraphicsDriver GLMax2DDriver()

I have the brl.mod in my 'mod' directory and I ran 'build modules'
Maybe I should try to rebuild all modules.


pete03(Posted 2011) [#4]
Ah I see what you mean I just added that.
Import BRL.GMLax2D
Thanks for your input