Browse Source

Fix newTextureData Blob type;

bjorn 6 years ago
parent
commit
2251738047
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/init.lua
  2. 1 1
      api/lovr/data/newTextureData.lua

+ 1 - 1
api/init.lua

@@ -2135,7 +2135,7 @@ return {
               arguments = {
                 {
                   name = "blob",
-                  type = "string",
+                  type = "Blob",
                   description = "The Blob containing image data to decode."
                 }
               },

+ 1 - 1
api/lovr/data/newTextureData.lua

@@ -15,7 +15,7 @@ return {
       description = 'The filename of the image to load.'
     },
     blob = {
-      type = 'string',
+      type = 'Blob',
       description = 'The Blob containing image data to decode.'
     }
   },