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

Merge branch 'master' of github.com:ncannasse/h3d into heaps

Nicolas Cannasse 11 жил өмнө
parent
commit
5bc65ec9e3

+ 1 - 0
h3d/impl/Stage3dDriver.hx

@@ -179,6 +179,7 @@ class Stage3dDriver extends Driver {
 	
 	override function allocTexture( t : h3d.mat.Texture ) : Texture {
 		var fmt = flash.display3D.Context3DTextureFormat.BGRA;
+		t.lastFrame = frame;
 		if( t.flags.has(TargetDepth) )
 			throw "Unsupported texture flag";
 		try {