Archived

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

spillsome

redundant SetTextureStageState

Recommended Posts

spillsome    122
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
IFooBar    906
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