소스 검색

Remove Engine.cacheImage, won't work on multidriver.

clementlandrin 2 달 전
부모
커밋
c0f12c1eda
1개의 변경된 파일0개의 추가작업 그리고 9개의 파일을 삭제
  1. 0 9
      h3d/Engine.hx

+ 0 - 9
h3d/Engine.hx

@@ -457,15 +457,6 @@ class Engine {
 		#end
 	}
 
-	public function cacheImage(res : hxd.res.Image) : h3d.mat.Texture {
-		var t : h3d.mat.Texture = resCache.get(res);
-		if ( t != null )
-			return t;
-		t = res.toTexture();
-		resCache.set(res, t);
-		return t;
-	}
-
 	function get_fps() {
 		return Math.ceil(realFps * 100) / 100;
 	}