I currently am having a issue with my draw code and need help
I am just drawing a single quad made from two triangles, where this quad is drawn using triangle list and a index buffer. The quad draws correctly on the screen, but if I tell the quad it to move like so
//Inside of render method x++; batcher.beginBatch(); batcher.draw(x, 50.0f, 64.0f, 64.0f, D3DCOLOR_XRGB(0,255,255)); batcher.endBatch(device);
It seems like it is growing by 1 pixel, moving to the new position, and then shrinking by 1 pixel again. Here is all of my code, it is ready to run all you have to do it change the Character Set for the project to be "not set"
main.cpp : http://pastebin.com/zSa9wZ1x
SpriteBatcher.h : http://pastebin.com/cPnGs5eL
SpriteBatcher.cpp : http://pastebin.com/ZQAiHY0s
Could someone please help me fix this issue
Edited by noodleBowl, 17 September 2013 - 06:11 PM.