Explorar o código

Material textures must be 2d;

bjorn %!s(int64=3) %!d(string=hai) anos
pai
achega
a7d755d02b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      api/lovr/graphics/Material/setTexture.lua

+ 1 - 0
api/lovr/graphics/Material/setTexture.lua

@@ -26,6 +26,7 @@ return {
       returns = {}
     }
   },
+  notes = 'Textures must have a `TextureType` of `2d` to be used with Materials.',
   related = {
     'MaterialTexture',
     'lovr.graphics.newTexture'