浏览代码

Fix Tally example;

bjorn 1 年之前
父节点
当前提交
f96e979ec1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/Debugging/Tally/main.lua

+ 1 - 1
examples/Debugging/Tally/main.lua

@@ -6,7 +6,7 @@ end
 
 function lovr.update(dt)
   while readbacks[1] and readbacks[1]:isComplete() do
-    pixels = readbacks[1]:getData()[1]
+    pixels = readbacks[1]:getData()
     table.remove(readbacks, 1)
   end
 end