 			clone.blending			= blending;
 			clone.triangleCulling	= triangleCulling;
 			clone.renderTarget		= renderTarget;
-			clone.enableDepthWrite	= enableDepthWrite;
+			clone.depthWriteEnabled	= depthWriteEnabled;
 			clone.scissorRectangle	= scissorRectangle;
 			
 			return clone;

				var color 	: uint 	= rt.backgroundColor;
				
				context.clear(
					((color >> 16) & 0xff) / 255.,
					((color >> 8) & 0xff) / 255.,
					(color & 0xff) / 255.,
					((color >> 24) & 0xff) / 255.
				);
			}
			

			_rectangle = value;
		}
		
		public function get depthWriteEnabled() : Boolean
		{
			return _enableDepthWrite;
		}
		public function set depthWriteEnabled(value : Boolean) : void
		{
			_enableDepthWrite = value;
		}
