diff options
-rw-r--r-- | fakecanvas.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fakecanvas.lua b/fakecanvas.lua index 30bbe9b..2b34dca 100644 --- a/fakecanvas.lua +++ b/fakecanvas.lua @@ -34,7 +34,7 @@ local pixeleffect_supported = love.graphics.isSupported "pixeleffect" local function nextpo2 (x) return 2^math.ceil(math.log(x) / math.log(2)) end local function prevpo2 (x) return 2^math.floor(math.log(x) / math.log(2)) end -local _types = { "Canvas" == true, "Object" == true, "Drawable" == true } +local _types = { Canvas = true, Object = true, Drawable = true } local canvas = { } local canvasmt = { __index = canvas } |