Ignore:
Timestamp:
07/03/07 11:03:46 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/pathmap/SubMesh.cpp

    r2304 r2498  
    7070        LPDIRECT3DDEVICE9 device = parent->pathMapEffect->device; 
    7171 
     72         
    7273        if(edgeCount) 
    7374        { 
     75                parent->pathMapEffect->effect->SetBool("bred", true); 
     76                parent->pathMapEffect->effect->CommitChanges(); 
    7477                device->SetStreamSource(0, parent->edgeVertexBuffer, 0, parent->mesh->GetNumBytesPerVertex()); 
    7578                device->DrawPrimitive(D3DPT_LINELIST, edgeStartIndex * 2, edgeCount); 
     79                parent->pathMapEffect->effect->SetBool("bred", false); 
    7680        } 
    7781} 
Note: See TracChangeset for help on using the changeset viewer.