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

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

clementlandrin 1 сар өмнө
parent
commit
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;
 	}