Browse Source

Add timers feature;

bjorn 6 years ago
parent
commit
3c00f6f8d0
2 changed files with 10 additions and 0 deletions
  1. 5 0
      api/init.lua
  2. 5 0
      api/lovr/graphics/getFeatures.lua

+ 5 - 0
api/init.lua

@@ -6624,6 +6624,11 @@ return {
                       name = "multiview",
                       type = "boolean",
                       description = "True if the multiview single-pass stereo rendering method is supported."
+                    },
+                    {
+                      name = "timers",
+                      type = "boolean",
+                      description = "Whether `lovr.graphics.tick` and `lovr.graphics.tock` are supported."
                     }
                   }
                 }

+ 5 - 0
api/lovr/graphics/getFeatures.lua

@@ -35,6 +35,11 @@ return {
           name = 'multiview',
           type = 'boolean',
           description = 'True if the multiview single-pass stereo rendering method is supported.'
+        },
+        {
+          name = 'timers',
+          type = 'boolean',
+          description = 'Whether `lovr.graphics.tick` and `lovr.graphics.tock` are supported.'
         }
       }
     }