nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nel] DirectX Summer Update 2004 and October 2004 support.


From: mattr
Subject: [Nel] DirectX Summer Update 2004 and October 2004 support.
Date: Thu, 16 Dec 2004 16:25:55 -0600
User-agent: Internet Messaging Program (IMP) 3.2.6

I know that Sebastion already submitted a patch, but after talking with ace I
found why they didn't apply it. In a stubborn quest I worked on the problem and
discovered this. DirectX has two defines that pertain to it's version,
DIRECT3D_VERSION and D3D_SDK_VERSION. For all of the DirectX 9.0 versions the
DIRECT3D_VERSION is 0x0900. But 9.0 Summer Update 2003 has a D3D_SDK_VERSION of
31 where Summer Update 2004 and October 2004 both have D3D_SDK_VERSION 32 as
well as a new define of: D3D9b_SDK_VERSION 31.

As Sebastion already posted, Microsoft seperated the pass into two parts so that
you could call Effect::Setx and ID3DXEffect::CommitChanges during the pass. I
don't presently see a use/impact of this for NeL. My patch verifies that you're
using the DirectX 9 SDK, and then also checks the SDK version. If it's 32, it
assumes it's one of the 2004 SDKs. This should allow 2003 users to continue
without any changes.

Thanks Sebastion for finding the fix for this issue.

---
Matt Raykowski
Programmer
Full Moon Studios


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Attachment: direct3d.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]