I’ve been getting this weird “bug” when I try to draw an image object to a canvas and then have the canvas shown on screen. Not sure if this is a bug or if I’m just using the API incorrectly.
Here’s the result:

And here’s what it’s suppose to look like (without drawing to canvas): 
local canvas=graphics.newTexture({ type="canvas"; width=thread.platform.screen\_resolution.value.x; height=thread.platform.screen\_resolution.value.y; }) local texture=graphics.newTexture({type="image",filename="assets/textures/256\_palette.png"}) local canvas\_object=display.newImageRect( canvas.filename,canvas.baseDir, thread.platform.screen\_resolution.value.x,thread.platform.screen\_resolution.value.y ) local image\_object=display.newImageRect( texture.filename,texture.baseDir, 100,100 ) canvas:draw(image\_object) image\_object:removeSelf() --Won't need the object once drawn to canvas
Edit: I should also note that the image is different every time I relaunch the simulator.