Return value from Var must be matching type

BlitzMax Forums/BlitzMax Beginners Area/Return value from Var must be matching type

Don't forget that BMax it's Open Source for it's users.
Open the Max2D.BMX file.
In there you will find a Type TMax2DGraphics
delete the Private in Line 61.
Make the Mods.
Then you will have the gc Type that it is TMax2dGraphics Type. you can get the values from the fields of the gc don't change them directly but only throu the functions.