canvas

BlitzMax Forums/BlitzMax Programming/canvas

If actTab = 0 Then
    SetGraphics CanvasGraphics(canvas)
    DrawImage(tmpImg,0,0)
elseif actTab = 1 then
    SetGraphics CanvasGraphics(canvas2)
    DrawImage(tmpImg,0,0)		
EndIf
Flip

its the DrawImage(tmpImg,0,0) in the first part that throws the error