Thanks for reply. anyway I found the issue in my code and fixed then after it is working fine. issue was that I am having single vertex buffer for my 7 rects and I was setting vertex offset for each rect because I know from where my rect's vertex data start in vertex buffer. same offset setting I am doing for index buffer of the 7 rects while calling drawindexedprimitives. when I removed offset setting in vertex buffer and always set it to 0 then it worked correctly.
Topic:
Graphics & Games
SubTopic:
General
Tags: