<something used to be here... its gone now>
<something used to be here... its gone now>
Last edited by Master674; 10-15-2012 at 12:55 PM.
+7 incoming from me as well, to anyone who can help.![]()
This is a complete shot in the dark as I'm personally hooking D3D11 with a custom VS and PS, but maybe you could try doing a SetFVF(D3DFVF_XYZ|D3DFVF_DIFFUSE|D3DFVF_TEX1) at the beginning of your OnRender(). My idea is that after you have disabled VS and PS, the ID3DXSprite methods might be in a state they don't expect without a proper function pipeline. Once you drew a primitive, you have set it up already which might have fixed it. Enabling WoW's PS might also have such an effect.
I don't think this has anything to do with RenderStates, as ID3DXSprite sets all necessary states itself in Begin (unless you pass a flag that it shouldn't do that) and reverts everything on End. You can see what exactly gets set here, but what I'm missing there is any note of setting up the function pipeline, hence my suggestion.
<something used to be here... its gone now>
Last edited by Master674; 10-15-2012 at 12:55 PM.