How to get dx9 summer update 2004 to work with Axiom
Change all
D3D.GraphicsStream to Microsoft.DirectX.GraphicsStream
Change D3DHardwareOcclusionQuery.cs line 109 from
lastFragmentCount = query.GetOcclusionData(flush); to lastFragmentCount = (int) query.GetData(typeof(int),flush);
Change D3DWindows.cs line 201 from
PresentParameters p = new PresentParameters(swapChain.PresentParamters); to PresentParameters p = new PresentParameters(swapChain.PresentParameters);
Change HLSL\HLSLProgram.cs line 83 from
(int)ShaderFlags.PackMatrixRowMajor, to ShaderFlags.PackMatrixRowMajor,
Change D3D9RenderSystem.cs line 1036 from
device.Lights[index].Commit(); to
device.Lights[index].Update();
It will compile without error.
Download: DirectX SDK Summer update 2004
Download: Axiom Engine