create premake4 solutions for the various OpenCL configurations (AMD, NVIDIA, Intel OpenCL SDKs for Windows)
primarily to distribute project files that work. CMake is still better supported in general (not all demos/libs have been ported) Revert a recent change about warnings: %zu doesn't work in printf, %d does
This commit is contained in:
@@ -528,12 +528,12 @@ void doFlags()
|
||||
{
|
||||
m_dynamicsWorld->stepSimulation(1./60.,0);
|
||||
|
||||
btDefaultSerializer* serializer = new btDefaultSerializer();
|
||||
m_dynamicsWorld->serialize(serializer);
|
||||
|
||||
FILE* file = fopen("testFile.bullet","wb");
|
||||
fwrite(serializer->getBufferPointer(),serializer->getCurrentBufferSize(),1, file);
|
||||
fclose(file);
|
||||
// Option to save a .bullet file
|
||||
// btDefaultSerializer* serializer = new btDefaultSerializer();
|
||||
// m_dynamicsWorld->serialize(serializer);
|
||||
// FILE* file = fopen("testFile.bullet","wb");
|
||||
// fwrite(serializer->getBufferPointer(),serializer->getCurrentBufferSize(),1, file);
|
||||
// fclose(file);
|
||||
|
||||
CProfileManager::dumpAll();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user