Browse Source

Fix TextureData:setPixel language;

bjorn 6 years ago
parent
commit
d38990c393
2 changed files with 4 additions and 4 deletions
  1. 2 2
      api/init.lua
  2. 2 2
      api/lovr/data/TextureData/setPixel.lua

+ 2 - 2
api/init.lua

@@ -3587,12 +3587,12 @@ return {
                     {
                       name = "x",
                       type = "number",
-                      description = "The x coordinate of the pixel to get (0-indexed)."
+                      description = "The x coordinate of the pixel to set (0-indexed)."
                     },
                     {
                       name = "y",
                       type = "number",
-                      description = "The y coordinate of the pixel to get (0-indexed)."
+                      description = "The y coordinate of the pixel to set (0-indexed)."
                     },
                     {
                       name = "r",

+ 2 - 2
api/lovr/data/TextureData/setPixel.lua

@@ -5,12 +5,12 @@ return {
     {
       name = 'x',
       type = 'number',
-      description = 'The x coordinate of the pixel to get (0-indexed).'
+      description = 'The x coordinate of the pixel to set (0-indexed).'
     },
     {
       name = 'y',
       type = 'number',
-      description = 'The y coordinate of the pixel to get (0-indexed).'
+      description = 'The y coordinate of the pixel to set (0-indexed).'
     },
     {
       name = 'r',