canvas

BlitzMax Forums/BlitzMax Programming/canvas

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.

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