Re: d3dx9: Implementation of D3DXGetFVFVertexSize
6 Apr
2008
6 Apr
'08
1:12 p.m.
On 06/04/2008, Luis Busquets <luis.busquets(a)ilidium.com> wrote:
Implementation of D3DXGetFVFVertexSize. It does so by calculating all the different publicly available posible vertex configuration types.
+ switch (FVF & D3DFVF_XYZB5) { You should probably use D3DFVF_POSITION_MASK instead here.
+ for (i=0;i<((FVF&0x0f00) >> 16);i++) { This doesn't look right. Right shifting (FVF & 0x0f00) by 16 will always produce 0. Tests should have caught that.
6464
Age (days ago)
6464
Last active (days ago)
0 comments
1 participants
participants (1)
-
H. Verbeet