hResult = g3d.m_pDevice->SetTexture( 0, lpSurface); //set the texture here, works just fine
if (hResult != D3D_OK)
hResult = g3d.m_pDevice->DrawPrimitive(D3DPT_TRIANGLELIST, D3DFVF_VERTEX, objTriangle.m_pVertex_List, objTriangle.m_dwVertex_Count, NULL ); //drawprimitive works just fine
the only difference i see is that in my code i use D3DPT_TRIANGLELIST instead of D3DPT_TRIANGLESTRIP like the tutorials, but even if i use trianglestrip it makes no difference i still get the bland triangle. The only thing i can think of is that because my texture isn't the same size of my triangle it doesn't "fit" on maybe, i'm just trying to apply one of the example textures from the tutorias. Any suggestions of where to look, everything seems to be working, no error codes at all, just no texture, so i must be missing something simple along the way.