Selaa lähdekoodia

Add note about wireframe on android;

bjorn 5 vuotta sitten
vanhempi
commit
35a671c1d2
3 muutettua tiedostoa jossa 12 lisäystä ja 4 poistoa
  1. 2 2
      api/init.lua
  2. 5 1
      api/lovr/graphics/isWireframe.lua
  3. 5 1
      api/lovr/graphics/setWireframe.lua

+ 2 - 2
api/init.lua

@@ -7565,7 +7565,7 @@ return {
               }
             }
           },
-          notes = "Wireframe rendering is initially disabled."
+          notes = "Wireframe rendering is initially disabled.\n\nWireframe rendering is not supported on the web or on Android."
         },
         {
           name = "line",
@@ -9737,7 +9737,7 @@ return {
               returns = {}
             }
           },
-          notes = "Wireframe rendering is initially disabled."
+          notes = "Wireframe rendering is initially disabled.\n\nWireframe rendering is not supported on the web or on Android."
         },
         {
           name = "skybox",

+ 5 - 1
api/lovr/graphics/isWireframe.lua

@@ -10,5 +10,9 @@ return {
       description = 'Whether or not wireframe rendering is enabled.'
     }
   },
-  notes = 'Wireframe rendering is initially disabled.'
+  notes = [[
+    Wireframe rendering is initially disabled.
+
+    Wireframe rendering is not supported on the web or on Android.
+  ]]
 }

+ 5 - 1
api/lovr/graphics/setWireframe.lua

@@ -12,5 +12,9 @@ return {
     }
   },
   returns = {},
-  notes = 'Wireframe rendering is initially disabled.'
+  notes = [[
+    Wireframe rendering is initially disabled.
+
+    Wireframe rendering is not supported on the web or on Android.
+  ]]
 }