diff options
author | xgoff <antipotroast@gmail.com> | 2012-08-10 14:30:17 -0500 |
---|---|---|
committer | xgoff <antipotroast@gmail.com> | 2012-08-10 14:30:17 -0500 |
commit | 3e04ba752c316335765551a983e4e3bdcb2c1aeb (patch) | |
tree | 11cb8c8f971add101b8a31425a1aad02ac45e90e | |
parent | f23a9de8f2864d5010b757449619afbe620e9296 (diff) | |
download | love2d-fakecanvas-3e04ba752c316335765551a983e4e3bdcb2c1aeb.tar.gz love2d-fakecanvas-3e04ba752c316335765551a983e4e3bdcb2c1aeb.tar.bz2 love2d-fakecanvas-3e04ba752c316335765551a983e4e3bdcb2c1aeb.tar.xz love2d-fakecanvas-3e04ba752c316335765551a983e4e3bdcb2c1aeb.zip |
type table was incorrect
i dunno WHAT i was on when i wrote that. that's what i get for not testing anything
-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 } |