Changeset 2498 for GTP/trunk/App/Demos/Illum/pathmap/SubMesh.cpp
- Timestamp:
- 07/03/07 11:03:46 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/pathmap/SubMesh.cpp
r2304 r2498 70 70 LPDIRECT3DDEVICE9 device = parent->pathMapEffect->device; 71 71 72 72 73 if(edgeCount) 73 74 { 75 parent->pathMapEffect->effect->SetBool("bred", true); 76 parent->pathMapEffect->effect->CommitChanges(); 74 77 device->SetStreamSource(0, parent->edgeVertexBuffer, 0, parent->mesh->GetNumBytesPerVertex()); 75 78 device->DrawPrimitive(D3DPT_LINELIST, edgeStartIndex * 2, edgeCount); 79 parent->pathMapEffect->effect->SetBool("bred", false); 76 80 } 77 81 }
Note: See TracChangeset
for help on using the changeset viewer.