瀏覽代碼

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 {
 		var fmt = flash.display3D.Context3DTextureFormat.BGRA;
+		t.lastFrame = frame;
 		if( t.flags.has(TargetDepth) )
 			throw "Unsupported texture flag";
 		try {