remove #include <stdbool.h> it breaks MSVC 2010

enable gtest by default when using premake, added flag without-gtest
use gtest ASSERT_EQ( expected_value, actual_value) instead of the reverse,
this fixes issue 205 (https://github.com/bulletphysics/bullet3/issues/205)
This commit is contained in:
erwin coumans
2014-08-12 12:18:32 -07:00
parent 4027ed09ae
commit 670576ec72
11 changed files with 117 additions and 117 deletions

View File

@@ -68,11 +68,11 @@ namespace
cl_int errNum=0;
cl_program prog = b3OpenCLUtils::compileCLProgramFromString(m_clContext,m_clDevice,rayCastKernelCL,&errNum,"",0,true);
ASSERT_EQ(errNum,CL_SUCCESS);
ASSERT_EQ(CL_SUCCESS,errNum);
{
cl_kernel k = b3OpenCLUtils::compileCLKernelFromString(m_clContext, m_clDevice,rayCastKernelCL, "rayCastKernel",&errNum,prog);
ASSERT_EQ(errNum,CL_SUCCESS);
ASSERT_EQ(CL_SUCCESS,errNum);
clReleaseKernel(k);
}