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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user