2
0
Эх сурвалжийг харах

Canvas:newImage clarifies its format;

bjorn 3 жил өмнө
parent
commit
7e5d6ef3d6

+ 2 - 1
api/init.lua

@@ -11439,7 +11439,8 @@ return {
                     }
                   }
                 }
-              }
+              },
+              notes = "The Image will always have the `rgba` format."
             },
             {
               name = "renderTo",

+ 1 - 0
api/lovr/graphics/Canvas/newImage.lua

@@ -18,6 +18,7 @@ return {
       description = 'The new Image.'
     }
   },
+  notes = 'The Image will always have the `rgba` format.',
   related = {
     'lovr.data.newImage',
     'Image'