浏览代码

Fix for Canvas:newTextureData;

bjorn 7 年之前
父节点
当前提交
602bf7242b
共有 2 个文件被更改,包括 2 次插入2 次删除
  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 = {