Skip to main content
gamedev.net
🔒 Locked

Redundant SetRenderState's

Started by Zaei 1 reply 750+ views
Original Post
Zaei
Zaei
I have a fairly simple setup for caching renderstates to reduce the numver of redundancies. But, I am having a problem. The problem is that something is setting renderstates, without my approval. I stepped through my code, line by line, and it seems that some D3D call is setting renderstates. Has anyone else ever seen this behavior? Any reasons for it? Could this be a driver thing? Thanks for any info =). Z.
__"Evil is Loud"
Draigan
Draigan
Some of the D3DX library functions (ID3DXFont class for example) will set render states by itself. I notice that when I have my debug output set to highest, the font class gives a ton of redundant SetRenderState and SetTextureStageState calls.
Zaei
Zaei
Thanks, that would be it =).

Z.
__"Evil is Loud"

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.