소스 검색

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

Nicolas Cannasse 11 년 전
부모
커밋
5bc65ec9e3
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      h3d/impl/Stage3dDriver.hx

+ 1 - 0
h3d/impl/Stage3dDriver.hx

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