err.... no setbuffer for pixmap?

BlitzMax Forums/BlitzMax Programming/err.... no setbuffer for pixmap?

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.

Nice find Dreamora. Should you have a PixMapFormat() call like this? :
Graphics 800,600,0

SetClsColor 200,0,0
Cls
pix1:TPixmap = GrabPixmap (0,0,128,128)
SetClsColor 255,255,255
Cls

pix2:TPixmap	= CreatePixmap(256,256,PixmapFormat(pix1))

pix2.paste(pix1,100,100)

DrawPixmap pix2,0,0
Flip
WaitKey