Multiple canvas = bug?
BlitzMax Forums/BlitzMax Programming/Multiple canvas = bug?
Hi,
When I have 2 canvases, I use setcanvas approporitely but using CLS on one canvas causes the other canvas to corrupt and partially clear.
Are multiple canvas not supported then?
source? I use multiple canvases all the way, no probs..
Firstly, do I need a flip for both canvases?
You have to treat Cls..Flip as bracketing your drawing code. So thats a Cls and Flip for each canvas.
Thanks beaks, tried this, and the new canvas cuts off the top of the old canvas by approximately the size of the new canvas. Will try reproducing in a small program.
Is this Gl or DX!
As DX does not handle 2 canvas's well.
It is DX!
I also have a problem enabling any other graphics contexts from maxgui under DX.
Found the bug. It's in the bug forum with example code.