소스 검색

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.'
     }
   },