소스 검색

Material textures must be 2d;

bjorn 3 년 전
부모
커밋
a7d755d02b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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'