IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> SolidWireFrame very small bug
pernuter_user
post Nov 3 2009, 04:59 PM
Post #1


Newbie
*

Group: Members
Posts: 2
Joined: 2-November 09
Member No.: 9,733



the SolidWireFrame sample has a small bug in SolidWireFrame.cpp:

void destroyGeometries()
{
for (unsigned int meshNb = 0; meshNb < g_Geometries.size(); ++meshNb)
{
g_Geometries[meshNb]->Destroy();

CDXUTMesh10* pmesh = g_Geometries[meshNb]; // added to fix bug
delete pmesh; // added to fix bug

g_Geometries[meshNb] = NULL;

}
g_Geometries.clear();
}
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Copyright © 2008 NVIDIA® Corporation.  Terms of Use | Legal Info | Privacy Policy Time is now: 24th November 2009 - 12:41 AM