2
0
bjorn 8 сар өмнө
parent
commit
44f3c4fcc2

+ 3 - 3
api/init.lua

@@ -14565,14 +14565,14 @@ return {
               },
               },
               variants = {
               variants = {
                 {
                 {
-                  arguments = {},
-                  returns = {
+                  arguments = {
                     {
                     {
                       name = "buffer",
                       name = "buffer",
                       type = "Buffer",
                       type = "Buffer",
                       description = "The index buffer."
                       description = "The index buffer."
                     }
                     }
-                  }
+                  },
+                  returns = {}
                 }
                 }
               }
               }
             },
             },

+ 4 - 4
api/lovr/graphics/Mesh/setIndexBuffer.lua

@@ -7,17 +7,17 @@ return {
 
 
     The Buffer must have a single field with the `u16`, `u32`, `index16`, or `index32` type.
     The Buffer must have a single field with the `u16`, `u32`, `index16`, or `index32` type.
   ]],
   ]],
-  arguments = {},
-  returns = {
+  arguments = {
     buffer = {
     buffer = {
       type = 'Buffer',
       type = 'Buffer',
       description = 'The index buffer.'
       description = 'The index buffer.'
     }
     }
   },
   },
+  returns = {},
   variants = {
   variants = {
     {
     {
-      arguments = {},
-      returns = { 'buffer' }
+      arguments = { 'buffer' },
+      returns = {}
     }
     }
   },
   },
   notes = [[
   notes = [[