Jump to content
  • Advertisement
Sign in to follow this  
SuperCGraphics

SetVertexShaderConstant Problem

This topic is 5038 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Im having a problem using Device.SetVertexShaderConstant in vb.net 2003 using directx 9c (1.0.2902.0) in 9.0a and i think 9.0b i had no issues using this. The problem i have now is that when i paste the exact same code used in the previous versions i get IDE errors in the task list... Device.SetVertexShaderConstant(0, New Matrix() {WldViewProj}) Device.SetVertexShaderConstant(0, nothing) 'just testing SkinnedMesh.vb(379): 'SetVertexShaderConstant' has a return type that is not supported or parameter types that are not supported. The IDE underlines Device.SetVertexShaderConstant both times. Is this a known bug in the 9.0c release and is there a work around for this?

Share this post


Link to post
Share on other sites
Advertisement
I realized this morning that my dx build was 9.02.2902
and not 9.02.2904 which is the recent version. I redownloaded the sdk and installed it and its fine now. I managed to download the messed up july sdk =(

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!