Hi all,
bit difficult as I am not at home (where I have found a fix) but I have an issue, and looking around it looks like it shouldnt be broken.
now, the graphics context is created as normal, the code that is failing:
I see nothing! I found that I have to use a command to re-insert the pixmap into the image (Again, i'm not at home and can't seem to find the function to do this.)
My question is- why does the above code not work?
bit difficult as I am not at home (where I have found a fix) but I have an issue, and looking around it looks like it shouldnt be broken.
now, the graphics context is created as normal, the code that is failing:
Global image:timage=CreateImage(maxx,maxy,1,filteredimage+dynamicimage) Local pixmap:TPixmap=LockImage(image) WritePixel(pixmap,10,10,$ffffff00) UnlockImage(image) DrawImage(image,0,0) Flip WaitKey
I see nothing! I found that I have to use a command to re-insert the pixmap into the image (Again, i'm not at home and can't seem to find the function to do this.)
My question is- why does the above code not work?