   LPD3DRENDERTOSURFACE
  Hi guys, Anyone used LPD3DRENDERTOSURFACE before? I like to ask about the BeginScene functions. The interface is something like this: HRESULT BeginScene( LPDIRECT3DSURFACE8 pSurface, CONST D3DVIEWPORT8* pViewport ); I pass in a surface and set pViewport to NULL and it works. However, if i get the viewport8 from the d3d device, the damn surface never gets rendered. Whats the use of pViewport?? thanks.