Re: Shader Plugin / Shader Help [message #389923 is a reply to message #389917] |
Wed, 10 June 2009 07:50 |
|
Omar007
Messages: 1711 Registered: December 2007 Location: Amsterdam
Karma:
|
General (1 Star) |
|
|
halo2pac wrote on Wed, 10 June 2009 15:46 |
Omar007 wrote on Wed, 10 June 2009 05:04 |
EDIT3: When i change #if D3DX_SDK_VERSION != 30 to #if D3DX_SDK_VERSION <= 30 it does seem to compile as it should. This way you should be able to use all version after August 2006.
|
Um is that a good idea?
and if so .. why not just remove the line instead of adding "<="?
|
Actually it comes down to the same point as having to change the _MSC_VER_ == 1400 to _MSC_VER_ <= 1400 in engine_common.cpp (or something) to compile scripts on VC2008.
And i think you could delete the line BUT only if you also delete the 2 following lines otherwise it would ALWAYS give the error you have to change the Delay Load DLL.
I just changed it to #if D3DX_SDK_VERSION <= 30 so i cant use any older SDK than August 2006. If you would use older it would maybe not work because it is to old. This way i eliminate the possibility of using older SDK's than August 2006.
[Updated on: Wed, 10 June 2009 07:51] Report message to a moderator
|
|
|