Working on D3D9 renderer.