remove the 'exit' calls from the OpenCL soft body solver. Use the solver->checkInitialized() method, after solver->optimize() to see if the kernels build OK.
This commit is contained in:
@@ -495,6 +495,12 @@ void initBullet(void)
|
||||
|
||||
|
||||
g_solver->optimize( m_dynamicsWorld->getSoftBodyArray() );
|
||||
|
||||
if (!g_solver->checkInitialized())
|
||||
{
|
||||
printf("OpenCL kernel initialization ?failed\n");
|
||||
exit(0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user