Browse Source

Fix typo;

bjorn 2 years ago
parent
commit
3cd0930e7a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/init.lua
  2. 1 1
      api/lovr/graphics/Pass/send.lua

+ 1 - 1
api/init.lua

@@ -14394,7 +14394,7 @@ return {
               name = "send",
               tag = "shader-inputs",
               summary = "Set the value of a shader variable.",
-              description = "Sends a value to a variable in the Pass's active `Shader`.  The active shader is changed using using `Pass:setShader`.",
+              description = "Sends a value to a variable in the Pass's active `Shader`.  The active shader is changed using `Pass:setShader`.",
               key = "Pass:send",
               module = "lovr.graphics",
               notes = "Shader variables can be in different \"sets\".  Variables changed by this function must be in set #2, because LÖVR uses set #0 and set #1 internally.\n\nThe new value will persist until a new shader is set that uses a different \"type\" for the binding number of the variable.  See `Pass:setShader` for more details.",

+ 1 - 1
api/lovr/graphics/Pass/send.lua

@@ -3,7 +3,7 @@ return {
   summary = 'Set the value of a shader variable.',
   description = [[
     Sends a value to a variable in the Pass's active `Shader`.  The active shader is changed using
-    using `Pass:setShader`.
+    `Pass:setShader`.
   ]],
   arguments = {
     name = {