瀏覽代碼

setCanvas argument default;

bjorn 6 年之前
父節點
當前提交
93178e1055
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      api/lovr/graphics/setCanvas.lua

+ 1 - 0
api/lovr/graphics/setCanvas.lua

@@ -9,6 +9,7 @@ return {
     {
       name = 'canvas',
       type = 'Canvas',
+      default = 'nil',
       description = 'The new active Canvas object, or `nil` to just render to the headset.'
     }
   },