Search found 1 match

by ardera
Sat May 30, 2015 11:49 am
Forum: Support and Development
Topic: graphics.clear clears screen instead of canvas
Replies: 3
Views: 1302

graphics.clear clears screen instead of canvas

There is not much code to reproduce this, you don't need to download the .love file. It's easy: function love.load() mycanvas = love.graphics.newCanvas(300, 300) end function love.draw() love.graphics.setCanvas(mycanvas) love.graphics.setColor(255, 255, 255, 255) love.graphics.setBackgroundColor(0, ...