From 3e04ba752c316335765551a983e4e3bdcb2c1aeb Mon Sep 17 00:00:00 2001 From: xgoff Date: Fri, 10 Aug 2012 14:30:17 -0500 Subject: type table was incorrect i dunno WHAT i was on when i wrote that. that's what i get for not testing anything --- fakecanvas.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3-54-g00ecf