Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


redundant SetTextureStageState

This topic is 5389 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

I have the following warning when compiling : Direct3D9: (WARN) :Ignoring redundant SetTextureStageState. Stage: 0, State: 1 Should I worry ? Does it affect the overhall performance of my application ? thanks for your help

Share this post

Link to post
Share on other sites
It means that you are setting a state that has already been set previously so direct3d is ignoring your state set. Tey are somewhate of a performance hit, not really though. But you are calling a d3ddevice method that inturn calls the driver so it is kind of a waste.

See Toms DX FAQ and scroll down a bit to "What''s the best way to do state changes?" for more information.

| C++ Debug Kit :: GameDev Kit :: DirectX Tutorials :: 2D DX Engine | TripleBuffer Software |
| Plug-in Manager :: System Information Class :: D3D9 Hardware Enum | DevMaster :: FlipCode |

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!