Sprite not rendering
I call sprite->Begin();
sprite->Draw();
Sprite->End();
nothing renders.
Should this be called before or after BeginScene()?
Do I need to set the renderstate?
I call sprite->Begin();
sprite->Draw();
Sprite->End();
nothing renders.
Should this be called before or after BeginScene()?
Do I need to set the renderstate?
Do you have any suggestions on another place I may find an answer.
ok, I'm not asking if you've been through all of them :-)
What I'm asking is: When you looked at the code in Simple2D, and compared it to your code, what did you do that was fundamentally different? Did you start your code from the "Empty Project" sample that we recommend? Quite often we find that something is missing in the fundamentals of the infrastructure.
that I used C++ and the sample was done using C#. Any C++ suggestions?
better off to just texture a quad, as opposed to using ID3DXSPRITE.