Browse Source

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

clementlandrin 1 month ago
parent
commit
c0f12c1eda
1 changed files with 0 additions and 9 deletions
  1. 0 9
      h3d/Engine.hx

+ 0 - 9
h3d/Engine.hx

@@ -457,15 +457,6 @@ class Engine {
 		#end
 		#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() {
 	function get_fps() {
 		return Math.ceil(realFps * 100) / 100;
 		return Math.ceil(realFps * 100) / 100;
 	}
 	}