summaryrefslogtreecommitdiff
path: root/meta/3rd/lovr
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/lovr')
-rw-r--r--meta/3rd/lovr/library/lovr.audio.lua2
-rw-r--r--meta/3rd/lovr/library/lovr.graphics.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/3rd/lovr/library/lovr.audio.lua b/meta/3rd/lovr/library/lovr.audio.lua
index baac445b..e948e0d4 100644
--- a/meta/3rd/lovr/library/lovr.audio.lua
+++ b/meta/3rd/lovr/library/lovr.audio.lua
@@ -186,7 +186,7 @@ function lovr.audio.isStarted(type) end
---@overload fun(blob: lovr.Blob, options: table):lovr.Source
---@overload fun(sound: lovr.Sound, options: table):lovr.Source
---@param filename string # The filename of the sound to load.
----@param options {decode: boolean, effects: table} # Optional options.
+---@param options? {decode: boolean, effects: table} # Optional options.
---@return lovr.Source source # The new Source.
function lovr.audio.newSource(filename, options) end
diff --git a/meta/3rd/lovr/library/lovr.graphics.lua b/meta/3rd/lovr/library/lovr.graphics.lua
index 42a859a5..658bf2b3 100644
--- a/meta/3rd/lovr/library/lovr.graphics.lua
+++ b/meta/3rd/lovr/library/lovr.graphics.lua
@@ -129,7 +129,7 @@ function lovr.graphics.compute(shader, x, y, z) end
---
---The window must be created before any `lovr.graphics` functions can be used.
---
----@param flags {width: number, height: number, fullscreen: boolean, resizable: boolean, msaa: number, title: string, icon: string, vsync: number} # Flags to customize the window's appearance and behavior.
+---@param flags? {width: number, height: number, fullscreen: boolean, resizable: boolean, msaa: number, title: string, icon: string, vsync: number} # Flags to customize the window's appearance and behavior.
function lovr.graphics.createWindow(flags) end
---