Browse Source

Fix render-to-depth-texture test;

bjorn 2 years ago
parent
commit
ec7be18bf7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/render-to-depth-texture.lua

+ 1 - 1
tests/render-to-depth-texture.lua

@@ -1,4 +1,4 @@
 function lovr.load()
 function lovr.load()
   t = lovr.graphics.newTexture(100, 100, { format = 'd32f' })
   t = lovr.graphics.newTexture(100, 100, { format = 'd32f' })
-  p = lovr.graphics.getPass('render', t)
+  p = lovr.graphics.getPass({ depth = t })
 end
 end