DXGL r232 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r231‎ | r232 | r233 >
Date:23:29, 7 August 2012
Author:admin
Status:new
Tags:
Comment:
Support D3DLVERTEX vertex type
Modified paths:
  • /ddraw/glDirect3DDevice.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirect3DDevice.cpp
@@ -494,6 +494,7 @@
495495 vertdata[0].data = vertptr;
496496 vertdata[1].data = NULL;
497497 ptr += 3;
 498+ if(dwVertexTypeDesc & D3DFVF_RESERVED1) ptr++;
498499 }
499500 else if(dwVertexTypeDesc & D3DFVF_XYZRHW)
500501 {