This commit is contained in:
Sergey 2015-01-06 14:45:10 +03:00
parent 9a01b76fec
commit babbac4e38
2 changed files with 2 additions and 0 deletions

View File

@ -971,6 +971,7 @@ void Director::purgeDirector()
#pragma warning (push)
#pragma warning (disable: 4996)
#endif
//it will crash clang static analyzer so hide it if __clang_analyzer__ defined
#ifndef __clang_analyzer__
DrawPrimitives::free();
#endif

View File

@ -87,6 +87,7 @@ void ccDrawInit()
void ccDrawFree()
{
//it will crash clang static analyzer so hide it if __clang_analyzer__ defined
#ifndef __clang_analyzer__
DrawPrimitives::free();
#endif