nel-all
[Top][All Lists]
Advanced

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

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


From: Andi [ Debug ]
Subject: Re: [Nel] DirectX Summer Update 2004 and October 2004 support.
Date: Thu, 16 Dec 2004 21:46:12 -0600

you did make it if sdk version is greater than 31 then do it the new way?
not equal to 32 right :)


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
D E B U G
N E V E R B O R N    E N T E R T AI N M E N T
D e s i g n   L e a d    &   P l u g i n   C o d e r
w w w . n e v e r b o r n . n e t
----- Original Message ----- From: <address@hidden>
To: "Developer's list for the NeL platform" <address@hidden>
Sent: Thursday, December 16, 2004 4:25 PM
Subject: [Nel] DirectX Summer Update 2004 and October 2004 support.


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.



--------------------------------------------------------------------------------


_______________________________________________
Nel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/nel-all







reply via email to

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