diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-05-28 22:56:35 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-05-28 22:56:35 +0800 |
commit | 7eaec047d708e84a7c29dd9d70e306d90fac412d (patch) | |
tree | a79282766b8a472494d5ba1f2c65e025b39a66fb /meta/3rd/lovr | |
parent | 9060bc4b2c3f40145b91fc0423de31b07161b5f5 (diff) | |
download | lua-language-server-7eaec047d708e84a7c29dd9d70e306d90fac412d.zip |
update meta files for `love2d` and `lovr`
Diffstat (limited to 'meta/3rd/lovr')
-rw-r--r-- | meta/3rd/lovr/library/lovr.audio.lua | 2 | ||||
-rw-r--r-- | meta/3rd/lovr/library/lovr.graphics.lua | 2 |
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 --- |