Browse Source

Fix Tally example;

bjorn 10 months ago
parent
commit
f96e979ec1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/Debugging/Tally/main.lua

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

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