0

when i try and compile a solution i recieve the following error

error x3539 ps_1_x is no longer supported

(68,23); ID3DXEffectCompiler;;CompileEffect: There was an error compiling expression ID3DXEffectCompiler: compilation failed

I believe this is an issue to do with the version of XNA and visial studios i am using because the code was created on visual studio 2008 and used XNA 3.0, but now i have xna 4.0 and visual studios 2010.

could anyone help me with this error?

Community
  • 1
  • 1
DK10
  • 168
  • 1
  • 5
  • 19

1 Answers1

1

You need to switch your shader from ps_1_1 to ps_2_0. Since you haven't provided any source... see the XNA 3.1 to XNA 4.0 cheat sheet for more information. Good luck!

scottheckel
  • 9,106
  • 1
  • 35
  • 47