Original Post
Hi. I created a 6 vertices and filled a VertexBuffer with values in order to create a rectangle and also put a texture on it. My question is: How do I use the StretchRect() method in order to stretch my rectange so it feets the window (150*150 pixels) ??? Don't know why but the StretchRect() method keeps failing to me, I pasted the hexadecimal code but I don't know how to check what it mean: 0x8876086c I understand that this method requires some support of the video adapter, I saw that there is D3DDEVCAPS2 - driver capability flags, one of the flags is named: D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES How do I check if my video card supports stretching ?? Thanks