Browse Source

Mention that zero window size uses monitor size;

bjorn 9 months ago
parent
commit
00fb77b7e6
2 changed files with 4 additions and 4 deletions
  1. 2 2
      api/init.lua
  2. 2 2
      api/lovr/callbacks/conf.lua

+ 2 - 2
api/init.lua

@@ -225,12 +225,12 @@ return {
                     {
                       name = "width",
                       type = "number",
-                      description = "The width of the window."
+                      description = "The width of the window (or 0 to use the monitor width)."
                     },
                     {
                       name = "height",
                       type = "number",
-                      description = "The height of the window."
+                      description = "The height of the window (or 0 to use the monitor height) ."
                     },
                     {
                       name = "fullscreen",

+ 2 - 2
api/lovr/callbacks/conf.lua

@@ -233,12 +233,12 @@ return {
             {
               name = 'width',
               type = 'number',
-              description = 'The width of the window.'
+              description = 'The width of the window (or 0 to use the monitor width).'
             },
             {
               name = 'height',
               type = 'number',
-              description = 'The height of the window.'
+              description = 'The height of the window (or 0 to use the monitor height) .'
             },
             {
               name = 'fullscreen',