summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------3rd/EmmyLuaCodeStyle0
m---------3rd/lovr-api0
-rw-r--r--meta/3rd/lovr/library/lovr.graphics.lua4
3 files changed, 4 insertions, 0 deletions
diff --git a/3rd/EmmyLuaCodeStyle b/3rd/EmmyLuaCodeStyle
-Subproject 7f903e2cd3b135d6148425db469c2e4ec53a8cb
+Subproject 8fa05abbbeab5bd3e20d8710eb6d5e804f8800c
diff --git a/3rd/lovr-api b/3rd/lovr-api
-Subproject 8548de845c91dfd8639d47018b7d421f857322e
+Subproject 0cfe3e962df3d34ca996b9c74960cb52f9f2be6
diff --git a/meta/3rd/lovr/library/lovr.graphics.lua b/meta/3rd/lovr/library/lovr.graphics.lua
index f0ccb310..fe0b6c33 100644
--- a/meta/3rd/lovr/library/lovr.graphics.lua
+++ b/meta/3rd/lovr/library/lovr.graphics.lua
@@ -1450,6 +1450,10 @@ function Canvas:isStereo() end
---
---Returns a new Image containing the contents of a Texture attached to the Canvas.
---
+---
+---### NOTE:
+---The Image will have the same pixel format as the Texture that is read from.
+---
---@param index? number # The index of the Texture to read from.
---@return lovr.Image image # The new Image.
function Canvas:newImage(index) end