Browse Source

setCanvas argument default;

bjorn 6 years ago
parent
commit
ebdf5639e6
1 changed files with 1 additions and 0 deletions
  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.'
     }
   },