I tweak a bit on a sort of menu to configure the graphics of a demo, nothing very serious, but while tweaking precisely I came across this error:
Code: Select all
Error: main.lua:1: Non-readable and MSAA textures cannot have mipmaps.
stack traceback:
[string "boot.lua"]:777: in function <[string "boot.lua"]:773>
[C]: in function 'newCanvas'
main.lua:1: in main chunk
[C]: in function 'require'
[string "boot.lua"]:570: in function <[string "boot.lua"]:380>
[C]: in function 'xpcall'
[string "boot.lua"]:787: in function <[string "boot.lua"]:780>
[C]: in function 'xpcall'
Code: Select all
local canvas = love.graphics.newCanvas(800, 600, {msaa=2, mipmaps="auto", readable=true})