Browse Source

Fix typo in newSampler;

bjorn 1 year ago
parent
commit
3bbf419817
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/init.lua
  2. 1 1
      api/lovr/graphics/newSampler.lua

+ 1 - 1
api/init.lua

@@ -12449,7 +12449,7 @@ return {
                         },
                         {
                           name = "[3]",
-                          type = "FilterMode",
+                          type = "WrapMod",
                           description = "The \"z\" wrap mode for 3D textures."
                         }
                       }

+ 1 - 1
api/lovr/graphics/newSampler.lua

@@ -64,7 +64,7 @@ return {
             },
             {
               name = '[3]',
-              type = 'FilterMode',
+              type = 'WrapMod',
               description = 'The "z" wrap mode for 3D textures.'
             }
           }