Browse Source

Fix for Canvas:newTextureData;

bjorn 7 years ago
parent
commit
e8655634f4
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/init.lua
  2. 1 1
      api/lovr/graphics/Canvas/newTextureData.lua

+ 1 - 1
api/init.lua

@@ -9665,7 +9665,7 @@ return {
             },
             {
               name = "newTextureData",
-              summary = "Create a new TextureData from the Canvas contents",
+              summary = "Create a new TextureData from the Canvas contents.",
               description = "Returns a new TextureData containing the current contents of the Canvas.",
               key = "Canvas:newTextureData",
               module = "lovr.graphics",

+ 1 - 1
api/lovr/graphics/Canvas/newTextureData.lua

@@ -1,5 +1,5 @@
 return {
-  summary = 'Create a new TextureData from the Canvas contents',
+  summary = 'Create a new TextureData from the Canvas contents.',
   description = 'Returns a new TextureData containing the current contents of the Canvas.',
   arguments = {},
   returns = {