Преглед изворни кода

Fix render-to-depth-texture test;

bjorn пре 2 година
родитељ
комит
ec7be18bf7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tests/render-to-depth-texture.lua

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

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